OSDN Git Service

Poke fingerprint timeout when vold password is correct
authorAdrian Roos <roosa@google.com>
Wed, 2 Sep 2015 20:26:25 +0000 (13:26 -0700)
committerAdrian Roos <roosa@google.com>
Thu, 3 Sep 2015 19:34:11 +0000 (12:34 -0700)
Bug: 23718313
Change-Id: I6c88fbba9ae460594b8e2f1a77c6545b305e5813

packages/Keyguard/src/com/android/keyguard/KeyguardUpdateMonitor.java
packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java

index fc6117f..a25accd 100644 (file)
@@ -1332,9 +1332,7 @@ public class KeyguardUpdateMonitor implements TrustManager.TrustListener {
      */
     private void handleKeyguardReset() {
         if (DEBUG) Log.d(TAG, "handleKeyguardReset");
-        if (!isUnlockingWithFingerprintAllowed()) {
-            updateFingerprintListeningState();
-        }
+        updateFingerprintListeningState();
     }
 
     /**
index d520072..da4ffa4 100644 (file)
@@ -1046,6 +1046,7 @@ public class KeyguardViewMediator extends SystemUI {
             // Without this, settings is not enabled until the lock screen first appears
             setShowingLocked(false);
             hideLocked();
+            mUpdateMonitor.reportSuccessfulStrongAuthUnlockAttempt();
             return;
         }