Cherish:Add Double tap to sleep on statusbar and lockscreen [2/2]

Change-Id: I49e8d92d3d425d361c9302ec1d597f059f7f2144
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
ezio84
2020-09-29 17:45:09 +00:00
committed by Hưng Phan
parent 769570265e
commit 828d9eb29a
3 changed files with 30 additions and 1 deletions

View File

@@ -18,8 +18,25 @@
android:title="@string/gestures_title"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<PreferenceCategory
android:key="double_tap_gestures_category"
android:title="@string/double_tap_gestures_category_title">
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="double_tap_sleep_gesture"
android:icon="@drawable/ic_tap"
android:title="@string/double_tap_sleep_gesture_title"
android:defaultValue="false" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="double_tap_sleep_lockscreen"
android:icon="@drawable/ic_tap"
android:title="@string/double_tap_sleep_lockscreen_title"
android:defaultValue="false" />
</PreferenceCategory>
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:icon="@drawable/ic_torch"
android:icon="@drawable/ic_torch"
android:key="torch_long_press_power_gesture"
android:title="@string/torch_long_press_power_gesture_title"
android:summary="@string/torch_long_press_power_gesture_desc"