Permalink
Browse files

OwlsNest: Double tap to sleep anywhere on the lock screen (2/2)

Change-Id: Ic85ad9c285668136e92987623dd07a2a3380fbfc
  • Loading branch information...
Altaf-Mahdi authored and akhilnarang committed Jun 3, 2017
1 parent 1f290b7 commit 0292da68f3729d8415f0b4eac1b2d2044f7aa6ae
Showing with 10 additions and 0 deletions.
  1. +4 −0 res/values/strings.xml
  2. +6 −0 res/xml/aosip_gesture.xml
View
@@ -751,4 +751,8 @@
<!-- 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>
<!-- Lockscreen double tap to sleep -->
<string name="double_tap_sleep_anywhere_title">Double-tap to sleep anywhere</string>
<string name="double_tap_sleep_anywhere_summary">Double tap anywhere on the lockscreen to put the device to sleep</string>
</resources>
@@ -38,4 +38,10 @@
android:summary="@string/double_tap_to_sleep_summary"
android:defaultValue="true" />
<com.aosip.owlsnest.preference.SystemSettingSwitchPreference
android:key="double_tap_sleep_anywhere"
android:title="@string/double_tap_sleep_anywhere_title"
android:summary="@string/double_tap_sleep_anywhere_summary"
android:defaultValue="false" />
</PreferenceScreen>

0 comments on commit 0292da6

Please sign in to comment.