samsung: Doze: Migrate to androidx

Change-Id: Ifaa67283a3437549a2304088a0ce377b399da19f
tirimbino
Bruno Martins 5 years ago committed by Jan Altensen
parent e603bb91e6
commit e7dad9c0bf
No known key found for this signature in database
GPG Key ID: 3E45BB95F7AD33DA
  1. 10
      doze/Android.mk
  2. 6
      doze/src/org/lineageos/settings/doze/TouchscreenGestureSettings.java

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

@ -18,11 +18,11 @@ package org.lineageos.settings.doze;
import android.app.ActionBar; import android.app.ActionBar;
import android.os.Bundle; 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.provider.Settings;
import android.view.MenuItem; import android.view.MenuItem;
import androidx.preference.Preference;
import androidx.preference.PreferenceFragment;
import androidx.preference.SwitchPreference;
import org.lineageos.internal.util.ScreenType; import org.lineageos.internal.util.ScreenType;

Loading…
Cancel
Save