samsung: Doze: Migrate to androidx

Change-Id: Ifaa67283a3437549a2304088a0ce377b399da19f
This commit is contained in:
Bruno Martins 2019-07-09 22:31:00 +01:00 committed by Jan Altensen
parent e603bb91e6
commit e7dad9c0bf
No known key found for this signature in database
GPG key ID: 3E45BB95F7AD33DA
2 changed files with 5 additions and 11 deletions

View file

@ -13,12 +13,8 @@ LOCAL_PRIVILEGED_MODULE := true
LOCAL_USE_AAPT2 := true
LOCAL_STATIC_ANDROID_LIBRARIES := \
android-support-v4 \
android-support-v13 \
android-support-v7-appcompat \
android-support-v7-preference \
android-support-v7-recyclerview \
android-support-v14-preference
androidx.core_core \
androidx.preference_preference
LOCAL_STATIC_JAVA_LIBRARIES := \
org.lineageos.platform.internal
@ -35,5 +31,3 @@ ifneq ($(INCREMENTAL_BUILDS),)
endif
include $(BUILD_PACKAGE)
include $(call all-makefiles-under,$(LOCAL_PATH))

View file

@ -18,11 +18,11 @@ package org.lineageos.settings.doze;
import android.app.ActionBar;
import android.os.Bundle;
import android.support.v14.preference.PreferenceFragment;
import android.support.v14.preference.SwitchPreference;
import android.support.v7.preference.Preference;
import android.provider.Settings;
import android.view.MenuItem;
import androidx.preference.Preference;
import androidx.preference.PreferenceFragment;
import androidx.preference.SwitchPreference;
import org.lineageos.internal.util.ScreenType;