diff options
author | Adrian Roos <roosa@google.com> | 2015-01-08 16:20:49 +0100 |
---|---|---|
committer | Adrian Roos <roosa@google.com> | 2015-01-14 22:51:31 +0100 |
commit | 9dd16ebcf2a25c189a39b72847d3db2b1189cb4d (patch) | |
tree | 60c9fb47640b61107721f04d09a3eb91eb95cbd3 /core/java/android/provider | |
parent | dce0122ea2d27474890d5e18ba4b7e4d06303e53 (diff) | |
download | frameworks_base-9dd16ebcf2a25c189a39b72847d3db2b1189cb4d.zip frameworks_base-9dd16ebcf2a25c189a39b72847d3db2b1189cb4d.tar.gz frameworks_base-9dd16ebcf2a25c189a39b72847d3db2b1189cb4d.tar.bz2 |
LockPatternUtils clean up continued
- Deprecate Settings.Secure.LOCK_PATTERN_ENABLED
- Remove unused permanent lock out
- Disallow empty/null arguments to saveLockPattern and saveLockPassword
- Refactor repeated quality checks
Change-Id: I6f369eb60f8f6bb1e33384cd06534c713ab52e79
Diffstat (limited to 'core/java/android/provider')
-rw-r--r-- | core/java/android/provider/Settings.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/java/android/provider/Settings.java b/core/java/android/provider/Settings.java index c1e0bd2..687db7c 100644 --- a/core/java/android/provider/Settings.java +++ b/core/java/android/provider/Settings.java @@ -3669,7 +3669,11 @@ public final class Settings { /** * Whether autolock is enabled (0 = false, 1 = true) + * + * @deprecated Use {@link android.app.KeyguardManager} to determine the state and security + * level of the keyguard. */ + @Deprecated public static final String LOCK_PATTERN_ENABLED = "lock_pattern_autolock"; /** |