Merge "Unlock icon regardless of transient error" into qt-r1-dev am: ce22fb44d9
am: 736f63e16e
Change-Id: I44430bdad67552f5929d54dc406dd7d799d7c668
This commit is contained in:
@@ -420,10 +420,10 @@ public class LockIcon extends KeyguardAffordanceView implements OnUserInfoChange
|
||||
|
||||
private int getState() {
|
||||
KeyguardUpdateMonitor updateMonitor = KeyguardUpdateMonitor.getInstance(mContext);
|
||||
if (mTransientBiometricsError) {
|
||||
return STATE_BIOMETRICS_ERROR;
|
||||
} else if ((mUnlockMethodCache.canSkipBouncer() || !mKeyguardShowing) && !mSimLocked) {
|
||||
if ((mUnlockMethodCache.canSkipBouncer() || !mKeyguardShowing) && !mSimLocked) {
|
||||
return STATE_LOCK_OPEN;
|
||||
} else if (mTransientBiometricsError) {
|
||||
return STATE_BIOMETRICS_ERROR;
|
||||
} else if (updateMonitor.isFaceDetectionRunning()) {
|
||||
return STATE_SCANNING_FACE;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user