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

Commit 5f6e890c authored by Wale Ogunwale's avatar Wale Ogunwale Committed by android-build-merger
Browse files

Merge "Remove replaced window if we aren\'t animating its exit." into nyc-dev...

Merge "Remove replaced window if we aren\'t animating its exit." into nyc-dev am: c26aabad am: bc8f8267
am: f6585f09

* commit 'f6585f09':
  Remove replaced window if we aren't animating its exit.

Change-Id: I3c9201ee4263f0af674fb6574963daa4cb504a75
parents d864ac05 f6585f09
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1586,11 +1586,12 @@ final class WindowState implements WindowManagerPolicy.WindowState {
                    win.transferDimToReplacement();
                }
                win.mWillReplaceWindow = false;
                final boolean animateReplacingWindow = win.mAnimateReplacingWindow;
                win.mAnimateReplacingWindow = false;
                win.mReplacingRemoveRequested = false;
                win.mReplacingWindow = null;
                mSkipEnterAnimationForSeamlessReplacement = false;
                if (win.mAnimatingExit) {
                if (win.mAnimatingExit || !animateReplacingWindow) {
                    mService.removeWindowInnerLocked(win);
                }
            }