Show face unlock even when fingerprint is running

Bug: 23318158
Change-Id: I02b085297c2546c814d97d725d18beba79568b33
This commit is contained in:
Adrian Roos
2015-09-02 13:29:42 -07:00
parent 9e25e1645f
commit e07cbaf53c

View File

@@ -248,10 +248,10 @@ public class LockIcon extends KeyguardAffordanceView {
return STATE_FINGERPRINT_ERROR;
} else if (mUnlockMethodCache.canSkipBouncer()) {
return STATE_LOCK_OPEN;
} else if (fingerprintRunning && unlockingAllowed) {
return STATE_FINGERPRINT;
} else if (mUnlockMethodCache.isFaceUnlockRunning()) {
return STATE_FACE_UNLOCK;
} else if (fingerprintRunning && unlockingAllowed) {
return STATE_FINGERPRINT;
} else {
return STATE_LOCKED;
}