Permalink
Browse files

Add double-tap to sleep

Change-Id: I1f4fb853eabef6bd36f0e80921efc57afa9e2d13
  • Loading branch information...
blackzigong authored and xlxfoxxlx committed Jun 3, 2017
1 parent 5f1dcb7 commit 56999df81b85d57de9d7bffe6cfb34d1046f1648
Showing with 10 additions and 1 deletion.
  1. +4 −1 res/values/strings.xml
  2. +6 −0 res/xml/aosip_gesture.xml
View
@@ -743,5 +743,8 @@
<string name="media_scanner_on_boot_enabled">Scan media</string>
<string name="media_scanner_on_boot_ask">Ask to scan (notification)</string>
<string name="media_scanner_on_boot_disabled">Do not scan media</string>
<!-- Double tap statusbar to sleep -->
<string name="double_tap_to_sleep_title">Double-tap to sleep</string>
<string name="double_tap_to_sleep_summary">Double tap on the status bar to put the device to sleep</string>
</resources>
@@ -32,4 +32,10 @@
android:summary="@string/three_finger_gesture_summary"
android:defaultValue="false" />
<com.aosip.owlsnest.preference.SystemSettingSwitchPreference
android:key="double_tap_sleep_gesture"
android:title="@string/double_tap_to_sleep_title"
android:summary="@string/double_tap_to_sleep_summary"
android:defaultValue="true" />
</PreferenceScreen>

0 comments on commit 56999df

Please sign in to comment.