2019-08-27 13:13:48 -04:00
|
|
|
From 18853bf3e04be75ec8f06d5cb5d40bfb19c6c79d Mon Sep 17 00:00:00 2001
|
|
|
|
From: Daniel Micay <danielmicay@gmail.com>
|
|
|
|
Date: Tue, 12 Sep 2017 01:52:11 -0400
|
|
|
|
Subject: [PATCH] use permanent fingerprint lockout immediately
|
|
|
|
|
|
|
|
---
|
|
|
|
.../java/com/android/server/fingerprint/FingerprintService.java | 2 +-
|
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
|
|
|
|
diff --git a/services/core/java/com/android/server/fingerprint/FingerprintService.java b/services/core/java/com/android/server/fingerprint/FingerprintService.java
|
|
|
|
index 06329e571b4..7c7d7008172 100644
|
|
|
|
--- a/services/core/java/com/android/server/fingerprint/FingerprintService.java
|
|
|
|
+++ b/services/core/java/com/android/server/fingerprint/FingerprintService.java
|
|
|
|
@@ -126,7 +126,7 @@
|
|
|
|
private final AppOpsManager mAppOps;
|
|
|
|
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;
|
2020-02-19 22:07:57 -05:00
|
|
|
+ private static final int MAX_FAILED_ATTEMPTS_LOCKOUT_PERMANENT = 3;
|
2019-08-27 13:13:48 -04:00
|
|
|
|
|
|
|
private static final long CANCEL_TIMEOUT_LIMIT = 3000; // max wait for onCancel() from HAL,in ms
|
|
|
|
private final String mKeyguardPackage;
|