Merge "SIM PIN unlock - Keyguard in invalid state" into sc-dev am: f9be814922

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15260881

Change-Id: I86aa18bd361fa50bda6866e3d876791a8262f02a
This commit is contained in:
Matt Pietal
2021-07-13 14:10:32 +00:00
committed by Automerger Merge Worker

View File

@@ -1506,8 +1506,10 @@ public class KeyguardViewMediator extends SystemUI implements Dumpable,
return; return;
} }
// if the keyguard is already showing, don't bother // if the keyguard is already showing, don't bother. check flags in both files
if (mKeyguardViewControllerLazy.get().isShowing()) { // to account for the hiding animation which results in a delay and discrepancy
// between flags
if (mShowing && mKeyguardViewControllerLazy.get().isShowing()) {
if (DEBUG) Log.d(TAG, "doKeyguard: not showing because it is already showing"); if (DEBUG) Log.d(TAG, "doKeyguard: not showing because it is already showing");
resetStateLocked(); resetStateLocked();
return; return;