diff options
author | Jeff Brown <jeffbrown@google.com> | 2013-09-12 22:16:43 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2013-09-12 22:16:43 +0000 |
commit | 25ca5777147f6e1b769f69c591c516b7fc9ae8aa (patch) | |
tree | 8161b94fc3e9e65475172c3dd875771b71768428 /overlay/frameworks | |
parent | e3c12c4a7af69abe7406c6ba087361f6423d1a84 (diff) | |
parent | 612ec7e31a00a262c3570f8039a7291b853b4264 (diff) | |
download | mako-25ca5777147f6e1b769f69c591c516b7fc9ae8aa.tar.gz |
Merge "Allow device to enter suspend with positive proximity." into klp-dev
Diffstat (limited to 'overlay/frameworks')
-rw-r--r-- | overlay/frameworks/base/core/res/res/values/config.xml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml index c073102..7d32ba1 100644 --- a/overlay/frameworks/base/core/res/res/values/config.xml +++ b/overlay/frameworks/base/core/res/res/values/config.xml @@ -252,4 +252,11 @@ <!-- Flag indicating if the speed up audio on mt call code should be executed --> <bool name="config_speed_up_audio_on_mt_calls">true</bool> + <!-- Indicate whether to allow the device to suspend when the screen is off + due to the proximity sensor. This resource should only be set to true + if the sensor HAL correctly handles the proximity sensor as a wake-up source. + Otherwise, the device may fail to wake out of suspend reliably. + The default is false. --> + <bool name="config_suspendWhenScreenOffDueToProximity">true</bool> + </resources> |