From 3970c38840ab5f73893d3278724d97ea6fde6e44 Mon Sep 17 00:00:00 2001 From: Jim Miller Date: Fri, 19 Nov 2010 18:38:01 -0800 Subject: [PATCH] Fix 3024522: Add new "Off" setting to LockScreen options. This allows the user to tell the device to not show lock screen at all as long as the DevicePolicyManager allows it. Change-Id: Id46002500b47fc955565be197ac78b7b13b6757d --- res/values/strings.xml | 46 ++++++++++--------- res/xml/security_settings_picker.xml | 6 +++ .../android/settings/ChooseLockGeneric.java | 24 ++++++---- 3 files changed, 47 insertions(+), 29 deletions(-) diff --git a/res/values/strings.xml b/res/values/strings.xml index d6376bc1486..6d2a1eb464d 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -582,62 +582,66 @@ - + Screen unlock security - + Set up screen lock - + Lock screen with a pattern, PIN, or password - + Change screen lock - + Change or disable pattern, PIN, or password security + + Off + + Don\u0027t show the lock screen - + None - + Disable screen unlock security - + Pattern - + Draw pattern to unlock screen - + PIN - + Enter a numeric PIN to unlock screen - + Password - + Enter a password to unlock screen - + Disabled by remote device administrator - + Turn off screen lock - + Remove unlock pattern - + Remove unlock PIN - + Remove unlock password - + Change unlock pattern - + Change unlock PIN - + Change unlock password diff --git a/res/xml/security_settings_picker.xml b/res/xml/security_settings_picker.xml index cbed2096fa0..04258df4d6a 100644 --- a/res/xml/security_settings_picker.xml +++ b/res/xml/security_settings_picker.xml @@ -20,6 +20,12 @@ android:key="security_picker_category" android:title="@string/lock_settings_picker_title"> + +