Skip to content

Commit aa24906

Browse files
author
Uriel Rodriguez
committed
BUG 5457035: lowering max FUL failed attempts to 3
After an unrecognized face occurs 3 times in a row, we disable FUL until the user unlocks via the backup lock. Lowering this values makes spoofing with liveliness enabled more difficult. Since we currently don't differentiate between the max number attempts with and without liveliness enabled, we had to lower it for all uses of FUL. Change-Id: I7a429f64cde2767ddd2ceb0885343acd0b802aac
1 parent f8d05b4 commit aa24906

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

policy/src/com/android/internal/policy/impl/KeyguardUpdateMonitor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public class KeyguardUpdateMonitor {
8181

8282
private int mFailedAttempts = 0;
8383
private int mFailedBiometricUnlockAttempts = 0;
84-
private static final int FAILED_BIOMETRIC_UNLOCK_ATTEMPTS_BEFORE_BACKUP = 5;
84+
private static final int FAILED_BIOMETRIC_UNLOCK_ATTEMPTS_BEFORE_BACKUP = 3;
8585

8686
private boolean mClockVisible;
8787

0 commit comments

Comments
 (0)