summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorJason Monk <jmonk@google.com>2015-03-31 16:39:28 -0400
committerJason Monk <jmonk@google.com>2015-04-28 09:48:14 -0400
commit86dd6bab5b4200095fca20baac2cd2d3d4b10823 (patch)
treec5a4f42ee1de38b4ecfea17a18e283f5fd5ffa4d /res
parent79670bbe68dbc6c6cc1da9f1d093dabb8099e7f5 (diff)
downloadpackages_apps_Settings-86dd6bab5b4200095fca20baac2cd2d3d4b10823.zip
packages_apps_Settings-86dd6bab5b4200095fca20baac2cd2d3d4b10823.tar.gz
packages_apps_Settings-86dd6bab5b4200095fca20baac2cd2d3d4b10823.tar.bz2
Add tap to wake setting
Depends on Ic1ad910dd38acbc68ef040b2acdf3696ec2c2e4e Bug: 16875464 Change-Id: Iae929099256e9077f8a4747a41fb965b8f9a72fb
Diffstat (limited to 'res')
-rw-r--r--res/values/strings.xml6
-rw-r--r--res/xml/display_settings.xml6
2 files changed, 12 insertions, 0 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 0b98428..40f124a 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -6454,6 +6454,12 @@
LIMIT=45] -->
<string name="app_permissions_group_summary"><xliff:g id="count" example="10">%d</xliff:g> of <xliff:g id="count" example="10">%d</xliff:g> apps allowed</string>
+ <!-- Label for tap to wake setting [CHAR LIMIT=30] -->
+ <string name="tap_to_wake">Tap to wake</string>
+
+ <!-- Summary for take to wake setting [CHAR LIMIT=90] -->
+ <string name="tap_to_wake_summary">Double-tap anywhere on the screen to wake device</string>
+
<!-- Label for the Domain URLs list that shows domain urls per App [CHAR LIMIT=30] -->
<string name="domain_urls_title">Domain URLs</string>
diff --git a/res/xml/display_settings.xml b/res/xml/display_settings.xml
index 70dcb9a..304a77b 100644
--- a/res/xml/display_settings.xml
+++ b/res/xml/display_settings.xml
@@ -72,6 +72,12 @@
android:summary="@string/doze_summary"
android:persistent="false" />
+ <SwitchPreference
+ android:key="tap_to_wake"
+ android:title="@string/tap_to_wake"
+ android:summary="@string/tap_to_wake_summary"
+ android:persistent="false" />
+
<com.android.settings.WarnedListPreference
android:key="font_size"
android:title="@string/title_font_size"