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

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

Clear WS.mDestroying on AWT.clearAnimatingFlags

am: 3c0d44e6

Change-Id: I7188dc89d20ee7d96f99e0116cef0eaa4b1bcc4e
parents 3d2acc1a 3c0d44e6
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -359,6 +359,11 @@ class AppWindowToken extends WindowToken {
                // placement for this window during this period, one or more frame will
                // show up with wrong position or scale.
                win.mWinAnimator.mAnimating = false;

                if (win.mDestroying) {
                    win.mDestroying = false;
                    service.mDestroySurface.remove(win);
                }
            }
        }
        requestUpdateWallpaperIfNeeded();