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

Commit 984654b6 authored by Matt Pietal's avatar Matt Pietal
Browse files

Remove legacy exit animation condition

This path is no longer needed and obsoleted by remote
animations. It also makes a race condition worse, when
an occluding app is launched just prior to keyguard
becoming visible.

Fixes: 329587571
Test: atest KeyguardTests:testTranslucentShowWhenLockedActivity
Flag: N/A
Change-Id: I26664694568d9fdf401ca14919c31dce4bb92628
parent 68dc9455
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -2147,13 +2147,6 @@ public class KeyguardViewMediator implements CoreStartable, Dumpable,
        mInteractionJankMonitor.cancel(CUJ_LOCKSCREEN_TRANSITION_FROM_AOD);

        synchronized (KeyguardViewMediator.this) {
            if (mHiding && isOccluded) {
                // We're in the process of going away but WindowManager wants to show a
                // SHOW_WHEN_LOCKED activity instead.
                // TODO(bc-unlock): Migrate to remote animation.
                startKeyguardExitAnimation(0, 0);
            }

            mPowerGestureIntercepted =
                    isOccluded && mUpdateMonitor.isSecureCameraLaunchedOverKeyguard();