summaryrefslogtreecommitdiffstats
path: root/packages/Keyguard/src/com/android/keyguard/KeyguardUpdateMonitor.java
diff options
context:
space:
mode:
authorAdrian Roos <roosa@google.com>2015-01-07 20:50:29 +0100
committerAdrian Roos <roosa@google.com>2015-01-07 22:10:35 +0100
commit230635efe7ffb09d6dc56bfd9193aa1d89c8a898 (patch)
tree9bb960ef1ddb52ee7ef42c57898058323598bae3 /packages/Keyguard/src/com/android/keyguard/KeyguardUpdateMonitor.java
parent382d6a9ed2360ceb462ea46a60f0f106fdb52540 (diff)
downloadframeworks_base-230635efe7ffb09d6dc56bfd9193aa1d89c8a898.zip
frameworks_base-230635efe7ffb09d6dc56bfd9193aa1d89c8a898.tar.gz
frameworks_base-230635efe7ffb09d6dc56bfd9193aa1d89c8a898.tar.bz2
Purge biometric weak and keyguard widgets
Bug: 18931518 Change-Id: I5da41908b1d6895a69f981e139f2d268327fafcd
Diffstat (limited to 'packages/Keyguard/src/com/android/keyguard/KeyguardUpdateMonitor.java')
-rw-r--r--packages/Keyguard/src/com/android/keyguard/KeyguardUpdateMonitor.java21
1 files changed, 0 insertions, 21 deletions
diff --git a/packages/Keyguard/src/com/android/keyguard/KeyguardUpdateMonitor.java b/packages/Keyguard/src/com/android/keyguard/KeyguardUpdateMonitor.java
index ef1fb5e..c29b51e 100644
--- a/packages/Keyguard/src/com/android/keyguard/KeyguardUpdateMonitor.java
+++ b/packages/Keyguard/src/com/android/keyguard/KeyguardUpdateMonitor.java
@@ -86,7 +86,6 @@ public class KeyguardUpdateMonitor implements TrustManager.TrustListener {
private static final String TAG = "KeyguardUpdateMonitor";
private static final boolean DEBUG = KeyguardConstants.DEBUG;
private static final boolean DEBUG_SIM_STATES = KeyguardConstants.DEBUG_SIM_STATES;
- private static final int FAILED_BIOMETRIC_UNLOCK_ATTEMPTS_BEFORE_BACKUP = 3;
private static final int LOW_BATTERY_THRESHOLD = 20;
private static final String ACTION_FACE_UNLOCK_STARTED
@@ -139,9 +138,6 @@ public class KeyguardUpdateMonitor implements TrustManager.TrustListener {
// Password attempts
private int mFailedAttempts = 0;
- private int mFailedBiometricUnlockAttempts = 0;
-
- private boolean mAlternateUnlockEnabled;
private boolean mClockVisible;
@@ -1181,7 +1177,6 @@ public class KeyguardUpdateMonitor implements TrustManager.TrustListener {
public void clearFailedUnlockAttempts() {
mFailedAttempts = 0;
- mFailedBiometricUnlockAttempts = 0;
}
public void clearFingerprintRecognized() {
@@ -1200,22 +1195,6 @@ public class KeyguardUpdateMonitor implements TrustManager.TrustListener {
return mPhoneState;
}
- public void reportFailedBiometricUnlockAttempt() {
- mFailedBiometricUnlockAttempts++;
- }
-
- public boolean getMaxBiometricUnlockAttemptsReached() {
- return mFailedBiometricUnlockAttempts >= FAILED_BIOMETRIC_UNLOCK_ATTEMPTS_BEFORE_BACKUP;
- }
-
- public boolean isAlternateUnlockEnabled() {
- return mAlternateUnlockEnabled;
- }
-
- public void setAlternateUnlockEnabled(boolean enabled) {
- mAlternateUnlockEnabled = enabled;
- }
-
public boolean isSimPinVoiceSecure() {
// TODO: only count SIMs that handle voice
return isSimPinSecure();