summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--policy/src/com/android/internal/policy/impl/FingerUnlockScreen.java14
1 files changed, 7 insertions, 7 deletions
diff --git a/policy/src/com/android/internal/policy/impl/FingerUnlockScreen.java b/policy/src/com/android/internal/policy/impl/FingerUnlockScreen.java
index eab7e77..d658280 100644
--- a/policy/src/com/android/internal/policy/impl/FingerUnlockScreen.java
+++ b/policy/src/com/android/internal/policy/impl/FingerUnlockScreen.java
@@ -924,6 +924,12 @@ class FingerUnlockScreen extends LinearLayoutWithDefaultTouchRecepient
try {
switch (iResult) {
+ case AuthentecHelper.eAM_STATUS_NO_STORED_CREDENTIAL:
+ // Might happen if the user wipes their database
+ // and the fingerprint unlock method remains active.
+ // Let it continue with the OK case so screen unlocks
+ if (DEBUG) Log.d(TAG,"No stored credential");
+
case AuthentecHelper.eAM_STATUS_OK:
m_bVerifyied = true;
if (DEBUG) Log.d(TAG,"keyguardDone, m_bVerifyied=" + m_bVerifyied);
@@ -942,12 +948,6 @@ class FingerUnlockScreen extends LinearLayoutWithDefaultTouchRecepient
bRetryAfterLockout = true;
break;
- case AuthentecHelper.eAM_STATUS_NO_STORED_CREDENTIAL:
- // Should never happen.
- if (DEBUG) Log.d(TAG,"No stored credential");
- bRetryAfterLockout = true;
- break;
-
case AuthentecHelper.eAM_STATUS_LIBRARY_NOT_AVAILABLE:
Log.e(TAG, "Library failed to load... cannot proceed!");
bRetryAfterLockout = true;
@@ -964,7 +964,7 @@ class FingerUnlockScreen extends LinearLayoutWithDefaultTouchRecepient
break;
case AuthentecHelper.eAM_STATUS_UNKNOWN_ERROR:
- Log.e(TAG, "Unkown error!");
+ Log.e(TAG, "Unknown error!");
bRetryAfterLockout = true;
break;