From 3e5d3fd7e172ee85a7bb67baa01acbc3549dfdb6 Mon Sep 17 00:00:00 2001 From: Jim Miller Date: Fri, 2 Sep 2011 17:30:35 -0700 Subject: Fix 5185505: Update DevicePolicyManager to support weak biometric security. Change-Id: If0fa49908a10d8057b9398112d47eb968cc77060 --- core/java/android/app/admin/DevicePolicyManager.java | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/core/java/android/app/admin/DevicePolicyManager.java b/core/java/android/app/admin/DevicePolicyManager.java index 4147b0fd1c8f..c89396bc13e8 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 @@ -205,6 +205,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 -- cgit v1.2.3-59-g8ed1b