Double tap to wake on doze [2/2]

Change-Id: I1711adb96085057c847a69ed9f07bc8b88648b57
Signed-off-by: SagarMakhar <sagarmakhar@gmail.com>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
SagarMakhar
2020-03-11 18:02:22 +00:00
committed by Hưng Phan
parent cfabfb3297
commit fd6fee840d
2 changed files with 10 additions and 0 deletions

View File

@@ -331,4 +331,8 @@
<string name="notification_guts_kill_app_button_title">Kill app button</string>
<string name="notification_guts_kill_app_button_summary">Show a kill app button in the notification\'s longpress menu</string>
<!-- Double Tap on Doze to wake -->
<string name="double_tap_on_doze_to_wake_title">Double-tap to wake on doze</string>
<string name="double_tap_on_doze_to_wake_summary">Double tap to wake when device is dreaming</string>
</resources>

View File

@@ -27,6 +27,12 @@
android:summary="@string/double_tap_to_sleep_lockscreen_summary"
android:defaultValue="true" />
<com.cherish.settings.preferences.SecureSettingSwitchPreference
android:key="doze_pulse_on_double_tap"
android:title="@string/double_tap_on_doze_to_wake_title"
android:summary="@string/double_tap_on_doze_to_wake_summary"
android:defaultValue="true" />
</PreferenceCategory>
<PreferenceCategory