aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cm/res/res/values/config.xml6
-rw-r--r--cm/res/res/values/symbols.xml9
-rw-r--r--src/java/cyanogenmod/providers/CMSettings.java12
3 files changed, 27 insertions, 0 deletions
diff --git a/cm/res/res/values/config.xml b/cm/res/res/values/config.xml
index 58e7566..de167c3 100644
--- a/cm/res/res/values/config.xml
+++ b/cm/res/res/values/config.xml
@@ -45,4 +45,10 @@
<string-array name="config_auto_perf_activities" translatable="false">
</string-array>
+ <!-- Default value for proximity check on screen wake
+ NOTE ! - Enable for devices that have a fast response proximity sensor (ideally < 300ms)-->
+ <bool name="config_proximityCheckOnWake">false</bool>
+ <integer name="config_proximityCheckTimeout">250</integer>
+ <bool name="config_proximityCheckOnWakeEnabledByDefault">false</bool>
+
</resources>
diff --git a/cm/res/res/values/symbols.xml b/cm/res/res/values/symbols.xml
index 552a22e..8bff9c3 100644
--- a/cm/res/res/values/symbols.xml
+++ b/cm/res/res/values/symbols.xml
@@ -41,4 +41,13 @@
<!-- Array of default activities with custom power management -->
<java-symbol type="array" name="config_auto_perf_activities" />
+ <!-- Proximity check on screen on -->
+ <java-symbol type="bool" name="config_proximityCheckOnWake" />
+
+ <!-- Proximity check timeout -->
+ <java-symbol type="integer" name="config_proximityCheckTimeout" />
+
+ <!-- Proximity check on screen on default -->
+ <java-symbol type="bool" name="config_proximityCheckOnWakeEnabledByDefault" />
+
</resources>
diff --git a/src/java/cyanogenmod/providers/CMSettings.java b/src/java/cyanogenmod/providers/CMSettings.java
index 0d0419f..3216184 100644
--- a/src/java/cyanogenmod/providers/CMSettings.java
+++ b/src/java/cyanogenmod/providers/CMSettings.java
@@ -901,6 +901,18 @@ public final class CMSettings {
* @hide
*/
public static final String BATTERY_LIGHT_FULL_COLOR = "battery_light_full_color";
+
+ /**
+ * Sprint MWI Quirk: Show message wait indicator notifications
+ * @hide
+ */
+ public static final String ENABLE_MWI_NOTIFICATION = "enable_mwi_notification";
+
+ /**
+ * Check the proximity sensor during wakeup
+ * @hide
+ */
+ public static final String PROXIMITY_ON_WAKE = "proximity_on_wake";
}
/**