summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoman Birg <roman@cyngn.com>2014-11-21 14:26:21 -0800
committerGerrit Code Review <gerrit@cyanogenmod.org>2015-12-07 21:04:46 -0800
commita2246fbd2e9cb0859c88148a34a7f5800a747924 (patch)
tree8c07b59b7623ce1ac6e471ca3a12e57e063ca100
parent64e314b61e865919fc8c94165e42dfc5fb7b92f4 (diff)
downloadpackages_apps_Settings-a2246fbd2e9cb0859c88148a34a7f5800a747924.zip
packages_apps_Settings-a2246fbd2e9cb0859c88148a34a7f5800a747924.tar.gz
packages_apps_Settings-a2246fbd2e9cb0859c88148a34a7f5800a747924.tar.bz2
Settings: add quick-quick settings pulldown setting
Change-Id: I986ea9d5e7037e58b1d185aba3daaa8fa7f6a9a7 Signed-off-by: Roman Birg <roman@cyngn.com>
-rw-r--r--res/values/cm_strings.xml2
-rw-r--r--res/xml/status_bar_settings.xml7
2 files changed, 9 insertions, 0 deletions
diff --git a/res/values/cm_strings.xml b/res/values/cm_strings.xml
index eae3de3..d14a88e 100644
--- a/res/values/cm_strings.xml
+++ b/res/values/cm_strings.xml
@@ -640,6 +640,8 @@
<string name="status_bar_toggle_brightness_summary">Adjust brightness by sliding across the status bar</string>
<string name="status_bar_notif_count_title">Show notification count</string>
<string name="status_bar_notif_count_summary">Display the number of pending notifications</string>
+ <string name="status_bar_quick_qs_pulldown_title">Quick pulldown</string>
+ <string name="status_bar_quick_qs_pulldown_summary">Right edge of the status bar pulls down Quick Settings</string>
<!-- Status bar - Clock -->
<string name="status_bar_clock_style_title">Clock style</string>
diff --git a/res/xml/status_bar_settings.xml b/res/xml/status_bar_settings.xml
index f9b1cc3..abf1bc3 100644
--- a/res/xml/status_bar_settings.xml
+++ b/res/xml/status_bar_settings.xml
@@ -63,4 +63,11 @@
android:title="@string/status_bar_notif_count_title"
android:summary="@string/status_bar_notif_count_summary"
android:defaultValue="false" />
+
+ <com.android.settings.cyanogenmod.CMSystemSettingSwitchPreference
+ android:key="status_bar_quick_qs_pulldown"
+ android:title="@string/status_bar_quick_qs_pulldown_title"
+ android:summary="@string/status_bar_quick_qs_pulldown_summary"
+ android:defaultValue="true" />
+
</PreferenceScreen>