summaryrefslogtreecommitdiffstats
path: root/overlay
diff options
context:
space:
mode:
authortilaksidduram <tilaksidduram@gmail.com>2015-02-24 00:58:35 +0530
committertilaksidduram <tilaksidduram@gmail.com>2015-02-24 00:58:35 +0530
commitc18273331470f65c3eb98289e1d2defdaebafbc3 (patch)
treeb9e404256ebd54106b0cee47d4c64a7d13bd46c1 /overlay
parentc32a58cd0b45369fe76b0282819a68f83ffa2cf8 (diff)
downloaddevice_samsung_n7100-c18273331470f65c3eb98289e1d2defdaebafbc3.zip
device_samsung_n7100-c18273331470f65c3eb98289e1d2defdaebafbc3.tar.gz
device_samsung_n7100-c18273331470f65c3eb98289e1d2defdaebafbc3.tar.bz2
N7100: Accelerometer for Ambient Display
Diffstat (limited to 'overlay')
-rw-r--r--overlay/frameworks/base/core/res/res/values/config.xml2
-rw-r--r--overlay/frameworks/base/packages/SystemUI/res/values/config.xml3
2 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 bd4d36e..3566767 100644
--- a/overlay/frameworks/base/core/res/res/values/config.xml
+++ b/overlay/frameworks/base/core/res/res/values/config.xml
@@ -259,6 +259,8 @@
<integer name="config_screenBrightnessDoze">20</integer>
<bool name="config_dozeAfterScreenOff">true</bool>
<bool name="config_powerDecoupleInteractiveModeFromDisplay">true</bool>
+ <!-- Doze: force using accelerometer as pick up sensor -->
+ <bool name="config_dozeUseAccelerometer">true</bool>
<!-- Maximum number of supported users -->
<integer name="config_multiuserMaximumUsers">4</integer>
diff --git a/overlay/frameworks/base/packages/SystemUI/res/values/config.xml b/overlay/frameworks/base/packages/SystemUI/res/values/config.xml
index 49b1c81..31e7533 100644
--- a/overlay/frameworks/base/packages/SystemUI/res/values/config.xml
+++ b/overlay/frameworks/base/packages/SystemUI/res/values/config.xml
@@ -28,5 +28,8 @@
<!-- Doze: should the pickup sensor be used as a pulse signal? -->
<bool name="doze_pulse_on_pick_up">true</bool>
+
+ <!-- Doze: shake accelerometer threshold -->
+ <integer name="doze_shake_accelerometer_threshold">5</integer>
</resources>