Hide Keyguard view after remote animation

We should call to hide keyguard view if it used to be showing.

Bug: 193565751
Test: pass launcher test with shell transition enabled
Change-Id: Id9f6a963af035abde369d06c3896a9bbada2ee57
This commit is contained in:
Chris Li
2021-07-22 19:28:00 -07:00
parent f02dae3491
commit 9704792797

View File

@@ -2369,7 +2369,7 @@ public class KeyguardViewMediator extends SystemUI implements Dumpable,
final boolean wasShowing = mShowing;
onKeyguardExitFinished();
if (mKeyguardStateController.isDismissingFromSwipe() || !wasShowing) {
if (mKeyguardStateController.isDismissingFromSwipe() || wasShowing) {
mKeyguardUnlockAnimationControllerLazy.get().hideKeyguardViewAfterRemoteAnimation();
}