cmsdk: Move proximitycheck to CMSettings.

Change-Id: If9e097c373404fe8983fd9160ebeb8405bd363d8
This commit is contained in:
Adnan Begovic 2015-11-09 18:00:32 -08:00
parent 50fc22b8a1
commit 3c42b723c3
3 changed files with 27 additions and 0 deletions

View File

@ -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>

View File

@ -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>

View File

@ -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";
}
/**