Switch fingerprint locked to 5 attempts instead of 3 + churn

Signed-off-by: Tad <tad@spotco.us>
This commit is contained in:
Tad 2023-04-12 15:23:39 -04:00
parent 6433756d9f
commit 2cc87c4dc7
No known key found for this signature in database
GPG key ID: B286E9F57A07424B
13 changed files with 13 additions and 14 deletions

View file

@ -16,7 +16,7 @@ index 06329e571b4..7c7d7008172 100644
private static final long FAIL_LOCKOUT_TIMEOUT_MS = 30*1000;
private static final int MAX_FAILED_ATTEMPTS_LOCKOUT_TIMED = 5;
- private static final int MAX_FAILED_ATTEMPTS_LOCKOUT_PERMANENT = 20;
+ private static final int MAX_FAILED_ATTEMPTS_LOCKOUT_PERMANENT = 3;
+ private static final int MAX_FAILED_ATTEMPTS_LOCKOUT_PERMANENT = 5;
private static final long CANCEL_TIMEOUT_LIMIT = 3000; // max wait for onCancel() from HAL,in ms
private final String mKeyguardPackage;