summaryrefslogtreecommitdiff
path: root/doze/res/xml
diff options
context:
space:
mode:
authorArian <arian.kulmer@web.de>2020-10-14 23:06:47 +0200
committerMichael Bestas <mkbestas@lineageos.org>2020-12-20 18:55:01 +0200
commit318d4dceb3181605b26db297af4379c42369a040 (patch)
treef0e14b85cdefc15b17400e73f7bf324cd434effc /doze/res/xml
parentb3b442059acc0a14269c72ab4d485de8fa7e95c4 (diff)
sdm660-common: doze: Allow to wake the screen on gestures instead of pulsing
Co-authored-by: Nauval Rizky <enuma.alrizky@gmail.com> Co-authored-by: Fabian Leutenegger <fabian.leutenegger@bluewin.ch> Change-Id: I1e74f8eafa51843e77d2d8c514c646a4494327cd
Diffstat (limited to 'doze/res/xml')
-rw-r--r--doze/res/xml/doze_settings.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/doze/res/xml/doze_settings.xml b/doze/res/xml/doze_settings.xml
index dd6e19b..5708c65 100644
--- a/doze/res/xml/doze_settings.xml
+++ b/doze/res/xml/doze_settings.xml
@@ -16,6 +16,12 @@
-->
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
+ <SwitchPreference
+ android:key="wake_on_gesture"
+ android:defaultValue="false"
+ android:title="@string/wake_on_gesture_title"
+ android:summary="@string/wake_on_gesture_summary" />
+
<PreferenceCategory
android:key="tilt_sensor"
android:title="@string/tilt_sensor_title">