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

Commit 291fdb0e authored by Filip Gruszczynski's avatar Filip Gruszczynski
Browse files

Don't treat dummy animation as exit animation.

This fixes a problem where recents would never be removed, because they
would run a dummy animation.

Bug: 25472312
Change-Id: I5767dc700966a49513e6338f4728c2ff275628ad
parent 331d5e07
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2242,7 +2242,8 @@ public class WindowManagerService extends IWindowManager.Stub
                    mAccessibilityController.onWindowTransitionLocked(win, transit);
                }
            }
            final boolean isAnimating = win.mWinAnimator.isAnimating();
            final boolean isAnimating = win.mWinAnimator.isAnimating()
                    && !win.mWinAnimator.isDummyAnimation();
            // The starting window is the last window in this app token and it isn't animating.
            // Allow it to be removed now as there is no additional window or animation that will
            // trigger its removal.