summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorJim Miller <jaggies@google.com>2013-08-24 01:28:39 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2013-08-24 01:28:40 +0000
commitf6794f95d19306e0f8a1edf02670d8dabd6daa5f (patch)
treea12cff361944a27378b962dd5658baec3e6453e8 /res
parent2a5707874b6ec39798421f77e0ccf38dbaa1e65f (diff)
parentef3e701b78134baf753484c44b7d1915029faa3f (diff)
downloadpackages_apps_Settings-f6794f95d19306e0f8a1edf02670d8dabd6daa5f.tar.gz
packages_apps_Settings-f6794f95d19306e0f8a1edf02670d8dabd6daa5f.tar.bz2
packages_apps_Settings-f6794f95d19306e0f8a1edf02670d8dabd6daa5f.zip
Merge "Add setting to disable keyguard widgets" into klp-dev
Diffstat (limited to 'res')
-rw-r--r--res/values/strings.xml4
-rw-r--r--res/xml/security_settings_biometric_weak.xml4
-rw-r--r--res/xml/security_settings_chooser.xml4
-rw-r--r--res/xml/security_settings_lockscreen.xml5
-rw-r--r--res/xml/security_settings_password.xml4
-rw-r--r--res/xml/security_settings_pattern.xml4
-rw-r--r--res/xml/security_settings_pin.xml4
7 files changed, 29 insertions, 0 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 76b3d4076..5fb7fe2d3 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -682,6 +682,10 @@
<string name="show_owner_info_on_lockscreen_label">Show owner info on lock screen</string>
<!-- Text shown for title of owner info setting [CHAR LIMIT=20]-->
<string name="owner_info_settings_title">Owner info</string>
+ <!-- Text shown for title of settings checkbox to disable widgets [CHAR LIMIT=20]-->
+ <string name="security_enable_widgets_title">Enable widgets</string>
+ <!-- Summary for settings checkbox to disable widgets when the setting has been disabled by an installed device admin [CHAR LIMIT=50] -->
+ <string name="security_enable_widgets_disabled_summary">Disabled by administrator</string>
<!-- Text shown for summary of owner info setting [CHAR LIMIT=40]-->
<string name="owner_info_settings_summary"></string>
<!-- Hint text shown in owner info edit text [CHAR LIMIT=50] -->
diff --git a/res/xml/security_settings_biometric_weak.xml b/res/xml/security_settings_biometric_weak.xml
index c830e6fa8..7236673c1 100644
--- a/res/xml/security_settings_biometric_weak.xml
+++ b/res/xml/security_settings_biometric_weak.xml
@@ -51,6 +51,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"
diff --git a/res/xml/security_settings_chooser.xml b/res/xml/security_settings_chooser.xml
index 60d3a9f1a..d29d221f6 100644
--- a/res/xml/security_settings_chooser.xml
+++ b/res/xml/security_settings_chooser.xml
@@ -26,6 +26,10 @@
android:summary="@string/unlock_set_unlock_mode_none"
android:persistent="false"/>
+ <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"
diff --git a/res/xml/security_settings_lockscreen.xml b/res/xml/security_settings_lockscreen.xml
index 06ec934d2..eb40bd8bb 100644
--- a/res/xml/security_settings_lockscreen.xml
+++ b/res/xml/security_settings_lockscreen.xml
@@ -25,6 +25,11 @@
android:title="@string/unlock_set_unlock_launch_picker_title"
android:summary="@string/unlock_set_unlock_mode_off"
android:persistent="false"/>
+
+ <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"
diff --git a/res/xml/security_settings_password.xml b/res/xml/security_settings_password.xml
index 0e9c71d5a..7cde2f5d4 100644
--- a/res/xml/security_settings_password.xml
+++ b/res/xml/security_settings_password.xml
@@ -38,6 +38,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"
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"
diff --git a/res/xml/security_settings_pin.xml b/res/xml/security_settings_pin.xml
index d44200fff..1e8fbbeab 100644
--- a/res/xml/security_settings_pin.xml
+++ b/res/xml/security_settings_pin.xml
@@ -38,6 +38,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"