diff options
author | Jim Miller <jaggies@google.com> | 2011-09-02 18:54:53 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2011-09-02 18:54:53 -0700 |
commit | 3d7467bd78eb7d9c16ab06b2ceed54ea176847f9 (patch) | |
tree | 92b313a223082dbd6da54619db640b43204cc99a /core/java/android/app | |
parent | b69d9324347e3742904c4828e7f73e875aeffcac (diff) | |
parent | 3e5d3fd7e172ee85a7bb67baa01acbc3549dfdb6 (diff) | |
download | frameworks_base-3d7467bd78eb7d9c16ab06b2ceed54ea176847f9.zip frameworks_base-3d7467bd78eb7d9c16ab06b2ceed54ea176847f9.tar.gz frameworks_base-3d7467bd78eb7d9c16ab06b2ceed54ea176847f9.tar.bz2 |
Merge "Fix 5185505: Update DevicePolicyManager to support weak biometric security."
Diffstat (limited to 'core/java/android/app')
-rw-r--r-- | core/java/android/app/admin/DevicePolicyManager.java | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/core/java/android/app/admin/DevicePolicyManager.java b/core/java/android/app/admin/DevicePolicyManager.java index 4147b0f..c89396b 100644 --- a/core/java/android/app/admin/DevicePolicyManager.java +++ b/core/java/android/app/admin/DevicePolicyManager.java @@ -82,7 +82,7 @@ public class DevicePolicyManager { /** * Activity action: send when any policy admin changes a policy. * This is generally used to find out when a new policy is in effect. - * + * * @hide */ public static final String ACTION_DEVICE_POLICY_MANAGER_STATE_CHANGED @@ -206,6 +206,14 @@ public class DevicePolicyManager { public static final int PASSWORD_QUALITY_UNSPECIFIED = 0; /** + * Constant for {@link #setPasswordQuality}: the policy allows for low-security biometric + * recognition technology. This implies technologies that can recognize the identity of + * an individual to about a 3 digit PIN (false detection is less than 1 in 1,000). + * Note that quality constants are ordered so that higher values are more restrictive. + */ + public static final int PASSWORD_QUALITY_BIOMETRIC_WEAK = 0x8000; + + /** * Constant for {@link #setPasswordQuality}: the policy requires some kind * of password, but doesn't care what it is. Note that quality constants * are ordered so that higher values are more restrictive. |