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

Commit 16744ac3 authored by Craig Mautner's avatar Craig Mautner Committed by Android Git Automerger
Browse files

am d1e32cd3: Merge "Defer removal of activity until animation complete." into klp-modular-dev

* commit 'd1e32cd3':
  Defer removal of activity until animation complete.
parents 57be1303 d1e32cd3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -9419,7 +9419,7 @@ public class WindowManagerService extends IWindowManager.Stub
                    mStackIdToStack.valueAt(stackNdx).mExitingAppTokens;
            for (i = exitingAppTokens.size() - 1; i >= 0; i--) {
                AppWindowToken token = exitingAppTokens.get(i);
                if (!token.hasVisible && !mClosingApps.contains(token)) {
                if (!token.hasVisible && !mClosingApps.contains(token) && !token.mDeferRemoval) {
                    // Make sure there is no animation running on this token,
                    // so any windows associated with it will be removed as
                    // soon as their animations are complete