Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c52deb2b authored by Robin Lee's avatar Robin Lee
Browse files

After keyguard exit animation, finish before notifying

Change-Id: I591fe31294ec56fd28b3e893868fe213c037fff4
Test: atest android.server.wm.KeyguardTests
Test: microbench/systemui/main/systemui-lockscreen-1-jank-suite
Test: atest PlatformScenarioTests:android.platform.test.scenario.sysui.notification.ExpandNotificationByDragging
Bug: 276503488
Bug: 276572219
parent 068e0087
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2856,14 +2856,14 @@ public class KeyguardViewMediator implements CoreStartable, Dumpable,
                        + " wasShowing=" + wasShowing);
            }

            mKeyguardUnlockAnimationControllerLazy.get()
                    .notifyFinishedKeyguardExitAnimation(cancelled);
            finishSurfaceBehindRemoteAnimation(cancelled);

            // Dispatch the callback on animation finishes.
            mUpdateMonitor.dispatchKeyguardDismissAnimationFinished();
        });

        mKeyguardUnlockAnimationControllerLazy.get().notifyFinishedKeyguardExitAnimation(
                cancelled);
    }

    /**