summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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>