Skip to content

Commit 3d7467b

Browse files
Jim MillerAndroid (Google) Code Review
authored andcommitted
Merge "Fix 5185505: Update DevicePolicyManager to support weak biometric security."
2 parents b69d932 + 3e5d3fd commit 3d7467b

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

core/java/android/app/admin/DevicePolicyManager.java

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public static DevicePolicyManager create(Context context, Handler handler) {
8282
/**
8383
* Activity action: send when any policy admin changes a policy.
8484
* This is generally used to find out when a new policy is in effect.
85-
*
85+
*
8686
* @hide
8787
*/
8888
public static final String ACTION_DEVICE_POLICY_MANAGER_STATE_CHANGED
@@ -205,6 +205,14 @@ public boolean hasGrantedPolicy(ComponentName admin, int usesPolicy) {
205205
*/
206206
public static final int PASSWORD_QUALITY_UNSPECIFIED = 0;
207207

208+
/**
209+
* Constant for {@link #setPasswordQuality}: the policy allows for low-security biometric
210+
* recognition technology. This implies technologies that can recognize the identity of
211+
* an individual to about a 3 digit PIN (false detection is less than 1 in 1,000).
212+
* Note that quality constants are ordered so that higher values are more restrictive.
213+
*/
214+
public static final int PASSWORD_QUALITY_BIOMETRIC_WEAK = 0x8000;
215+
208216
/**
209217
* Constant for {@link #setPasswordQuality}: the policy requires some kind
210218
* of password, but doesn't care what it is. Note that quality constants

0 commit comments

Comments
 (0)