OSDN Git Service

Settings: Don't enable proximity on wake by default
authorGabriele M <moto.falcon.git@gmail.com>
Thu, 5 May 2016 20:54:40 +0000 (22:54 +0200)
committerGerrit Code Review <gerrit@cyanogenmod.org>
Fri, 15 Jul 2016 14:39:41 +0000 (07:39 -0700)
This is set depending on config_proximityCheckOnWakeEnabledByDefault

Change-Id: I3b93f4173c725c7603152be9f8b1a4f1425f617a

res/xml/display.xml

index 366263e..0d1f965 100644 (file)
@@ -89,8 +89,7 @@
         <com.android.settings.cyanogenmod.CMSystemSettingSwitchPreference
                 android:key="proximity_on_wake"
                 android:title="@string/proximity_wake_title"
-                android:summary="@string/proximity_wake_summary"
-                android:defaultValue="true" />
+                android:summary="@string/proximity_wake_summary" />
 
         <!-- Seconds before sleep -->
         <ListPreference