Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit aa24906d authored by Uriel Rodriguez's avatar Uriel Rodriguez
Browse files

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
parent f8d05b4e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -81,7 +81,7 @@ public class KeyguardUpdateMonitor {

    private int mFailedAttempts = 0;
    private int mFailedBiometricUnlockAttempts = 0;
    private static final int FAILED_BIOMETRIC_UNLOCK_ATTEMPTS_BEFORE_BACKUP = 5;
    private static final int FAILED_BIOMETRIC_UNLOCK_ATTEMPTS_BEFORE_BACKUP = 3;

    private boolean mClockVisible;