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

Commit f6585f09 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 am: c26aabad

am: bc8f8267

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

Change-Id: I2509dd7213f11c34968971f750e40118cce6ae1b
parents 39d4bdb4 bc8f8267
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);
                }
            }