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

Commit 9a5a8aaf authored by Craig Mautner's avatar Craig Mautner Committed by Android Git Automerger
Browse files

am 5785e05d: Merge "Clear sendingToBottom when animation is complete." into jb-dev

* commit '5785e05d':
  Clear sendingToBottom when animation is complete.
parents 7324b21c 5785e05d
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -8257,6 +8257,9 @@ public class WindowManagerService extends IWindowManager.Stub

        mAppTransitionRunning = false;
        // Restore window app tokens to the ActivityManager views
        for (int i = mAnimatingAppTokens.size() - 1; i >= 0; i--) {
            mAnimatingAppTokens.get(i).sendingToBottom = false;
        }
        mAnimatingAppTokens.clear();
        mAnimatingAppTokens.addAll(mAppTokens);
        rebuildAppWindowListLocked();
@@ -9120,6 +9123,8 @@ public class WindowManagerService extends IWindowManager.Stub

            // If this window's application has been removed, just skip it.
            if (thisApp != null && (thisApp.removed || thisApp.sendingToBottom)) {
                if (DEBUG_FOCUS) Slog.v(TAG, "Skipping app because " + (thisApp.removed
                        ? "removed" : "sendingToBottom"));
                continue;
            }