From 77692e85e711cf193974778407c5f76e4d940a85 Mon Sep 17 00:00:00 2001 From: Rashed Abdel-Tawab Date: Tue, 26 Sep 2017 19:15:26 -0400 Subject: [PATCH] Settings: Add double tap to sleep preference * Place it under Display settings, near the existing double tap to wake preference. Change-Id: I0baa49f9367331febf29260a0f60ba3a020be729 --- res/values/cm_strings.xml | 4 ++++ res/xml/display_settings.xml | 8 ++++++++ 2 files changed, 12 insertions(+) diff --git a/res/values/cm_strings.xml b/res/values/cm_strings.xml index 27530fbdb89..c486c27b0ff 100644 --- a/res/values/cm_strings.xml +++ b/res/values/cm_strings.xml @@ -36,6 +36,10 @@ No need, you have already enabled development settings. + + Tap to sleep + Double-tap on the status bar or lockscreen to turn off the display + 3 \u00d7 3 4 \u00d7 4 diff --git a/res/xml/display_settings.xml b/res/xml/display_settings.xml index f721019ca2e..ef7e0acfb64 100644 --- a/res/xml/display_settings.xml +++ b/res/xml/display_settings.xml @@ -203,6 +203,14 @@ android:title="@string/tap_to_wake" android:summary="@string/tap_to_wake_summary"/> + + +