summaryrefslogtreecommitdiffstats
path: root/overlay
diff options
context:
space:
mode:
authorZiyan <jaraidaniel@gmail.com>2014-11-28 12:45:25 +0100
committerZiyan <jaraidaniel@gmail.com>2014-12-13 00:39:24 +0100
commit60d88dd27bc8fe128aa53cecf4057cfe6a1516a3 (patch)
tree4c459a620c25dc5c32004113aea118fd1593cedd /overlay
parent6b324c45bdfea00cbda82db694adb72a2b6d958f (diff)
downloaddevice_samsung_tuna-60d88dd27bc8fe128aa53cecf4057cfe6a1516a3.zip
device_samsung_tuna-60d88dd27bc8fe128aa53cecf4057cfe6a1516a3.tar.gz
device_samsung_tuna-60d88dd27bc8fe128aa53cecf4057cfe6a1516a3.tar.bz2
tuna: check proximity when waking device
Depends on http://review.cyanogenmod.org/#/c/78512/
Diffstat (limited to 'overlay')
-rw-r--r--overlay/frameworks/base/core/res/res/values/config.xml5
1 files changed, 5 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 c885dc1..6bc32b2 100644
--- a/overlay/frameworks/base/core/res/res/values/config.xml
+++ b/overlay/frameworks/base/core/res/res/values/config.xml
@@ -260,4 +260,9 @@
Used to decide if the user can change the colors -->
<bool name="config_multiColorBatteryLed">true</bool>
+ <!-- Enable the option to check proximity sensor when deciding whether to turn the screen on
+ NOTE ! - Enable for devices that have a fast response proximity sensor (ideally < 300ms) -->
+ <bool name="config_proximityCheckOnWake">true</bool>
+ <integer name="config_proximityCheckTimeout">500</integer>
+
</resources>