summaryrefslogtreecommitdiffstats
path: root/res/xml/security_settings_pattern.xml
diff options
context:
space:
mode:
authorJim Miller <jaggies@google.com>2013-08-20 19:03:30 -0700
committerJim Miller <jaggies@google.com>2013-08-20 19:03:30 -0700
commitef3e701b78134baf753484c44b7d1915029faa3f (patch)
treec4c74b8c0481dc9ebb701ae57d15b8e894dfc121 /res/xml/security_settings_pattern.xml
parent55fe056d96bdb683dce0a4e66e7390d19f23e710 (diff)
downloadpackages_apps_Settings-ef3e701b78134baf753484c44b7d1915029faa3f.tar.gz
packages_apps_Settings-ef3e701b78134baf753484c44b7d1915029faa3f.tar.bz2
packages_apps_Settings-ef3e701b78134baf753484c44b7d1915029faa3f.zip
Add setting to disable keyguard widgets
This allows disabling keyguard widgets through Settings. On new devices, the setting is turned off by default. If the user currently has widgets in keyguard, then we keep them and re-enable the setting. Change-Id: I25f0756ac72227e13dcb491694b3ec3c2bf1d293
Diffstat (limited to 'res/xml/security_settings_pattern.xml')
-rw-r--r--res/xml/security_settings_pattern.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/res/xml/security_settings_pattern.xml b/res/xml/security_settings_pattern.xml
index d47a99d04..d8e06b356 100644
--- a/res/xml/security_settings_pattern.xml
+++ b/res/xml/security_settings_pattern.xml
@@ -42,6 +42,10 @@
android:key="power_button_instantly_locks"
android:title="@string/lockpattern_settings_enable_power_button_instantly_locks"/>
+ <CheckBoxPreference
+ android:key="keyguard_enable_widgets"
+ android:title="@string/security_enable_widgets_title"/>
+
<PreferenceScreen
android:fragment="com.android.settings.OwnerInfoSettings"
android:key="owner_info_settings"