summaryrefslogtreecommitdiffstats
path: root/res/xml/security_settings_pin.xml
diff options
context:
space:
mode:
authorDan Sandler <dsandler@android.com>2014-02-19 14:42:55 -0500
committerDan Sandler <dsandler@android.com>2014-02-24 01:28:49 +0000
commit91d014a9658d63c141741414a998f1da89a4dbc6 (patch)
tree6c989a56dd3343446617cc923dcd4a321e6a4bbc /res/xml/security_settings_pin.xml
parentdba5623a0b6ddec7c56a23e516f4f39be02bd0b0 (diff)
downloadpackages_apps_Settings-91d014a9658d63c141741414a998f1da89a4dbc6.zip
packages_apps_Settings-91d014a9658d63c141741414a998f1da89a4dbc6.tar.gz
packages_apps_Settings-91d014a9658d63c141741414a998f1da89a4dbc6.tar.bz2
Settings>Security>Show notifications (on the lockscreen).
Allows the user to toggle Settings.Secure.LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS, which if set shows the complete private contents of that user's notifications atop a securely locked screen. When unset, only the "public" versions of notifications are shown (which may include explicit redactions made by the app). See f/b change I32bb7939 for details. This checkbox is hidden for insecure keyguards ("off" and "none"). It is also unavailable if Settings.Global.LOCK_SCREEN_SHOW_NOTIFICATIONS is not set (see f/b change I9c517949.) Change-Id: Ie1b4c6b949b597b97e536d8ea7e35c9de9b6995f
Diffstat (limited to 'res/xml/security_settings_pin.xml')
-rw-r--r--res/xml/security_settings_pin.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/res/xml/security_settings_pin.xml b/res/xml/security_settings_pin.xml
index 1417e21..2636fa4 100644
--- a/res/xml/security_settings_pin.xml
+++ b/res/xml/security_settings_pin.xml
@@ -53,6 +53,13 @@
android:title="@string/nfc_unlock_title"
android:persistent="false"/>
+ <CheckBoxPreference
+ android:key="toggle_lock_screen_notifications"
+ android:title="@string/lock_screen_notifications"
+ android:summaryOff="@string/lock_screen_notifications_summary_off"
+ android:summaryOn="@string/lock_screen_notifications_summary_on"
+ android:persistent="false" />
+
</PreferenceCategory>
</PreferenceScreen>