summaryrefslogtreecommitdiffstats
path: root/res/xml/security_settings_misc.xml
diff options
context:
space:
mode:
authorJason Monk <jmonk@google.com>2014-06-19 10:33:41 -0400
committerJason Monk <jmonk@google.com>2014-06-26 11:09:54 -0400
commit315070d58b1d18fe1f5dae73e2ee09fd3ee5b13f (patch)
tree519cb2c4caf49fed53170976841ff023b942b905 /res/xml/security_settings_misc.xml
parent8b2655cfbb77ef696ad4cec0f8861889a2015917 (diff)
downloadpackages_apps_Settings-315070d58b1d18fe1f5dae73e2ee09fd3ee5b13f.zip
packages_apps_Settings-315070d58b1d18fe1f5dae73e2ee09fd3ee5b13f.tar.gz
packages_apps_Settings-315070d58b1d18fe1f5dae73e2ee09fd3ee5b13f.tar.bz2
Add lock-to-app to settings
Lock-to-app when disabled shows some instructions about how to enable it and use it. When enabled shows an option of use lock screen, which controls whether the device is locked when exiting lock-to-app. Turning on use lock screen requires that the device have some security challenge. Bug: 15759649 Change-Id: I6188243e03fb0c85bdfdbc32a23ad486296a34f9
Diffstat (limited to 'res/xml/security_settings_misc.xml')
-rw-r--r--res/xml/security_settings_misc.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/res/xml/security_settings_misc.xml b/res/xml/security_settings_misc.xml
index c8f3e02..0dbddea 100644
--- a/res/xml/security_settings_misc.xml
+++ b/res/xml/security_settings_misc.xml
@@ -102,4 +102,10 @@
android:persistent="false"
android:fragment="com.android.settings.AdvancedSecuritySettings"/>
</PreferenceCategory>
+
+ <PreferenceScreen
+ android:key="lock_to_app_settings"
+ android:fragment="com.android.settings.LockToAppSettings"
+ android:title="@string/lock_to_app_title"/>
+
</PreferenceScreen>