alps/vendor/mediatek/proprietary/packages/apps/MtkSettings/res/xml/display_settings.xml
index d7a93ee..6817e32 100644
@@ -87,11 +87,11 @@
android:fragment="com.android.settings.display.AdaptiveSleepSettings"
settings:controller="com.android.settings.display.AdaptiveSleepPreferenceController" />
- <SwitchPreference
+ <!--SwitchPreference
android:key="auto_rotate"
android:title="@string/accelerometer_title"
settings:keywords="@string/keywords_auto_rotate"
- settings:controller="com.android.settings.display.AutoRotatePreferenceController" />
+ settings:controller="com.android.settings.display.AutoRotatePreferenceController" /-->
<Preference
android:key="color_mode"
@@ -152,9 +152,9 @@
android:title="@string/camera_gesture_title"
android:summary="@string/camera_gesture_desc" />
- <SwitchPreference
+ <!--SwitchPreference
android:key="lift_to_wake"
- android:title="@string/lift_to_wake_title" />
+ android:title="@string/lift_to_wake_title" /-->
<SwitchPreference
android:key="tap_to_wake"
alps/vendor/mediatek/proprietary/packages/apps/MtkSettings/src/com/android/settings/display/LiftToWakePreferenceController.java
index d12b7c4..de6f12f 100644
@@ -43,7 +43,8 @@ public class LiftToWakePreferenceController extends AbstractPreferenceController
@Override
public String getPreferenceKey() {
- return KEY_LIFT_TO_WAKE;
+ //return KEY_LIFT_TO_WAKE;
+ return "";
}
@Override
|