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

Commit 5785e05d authored by Craig Mautner's avatar Craig Mautner Committed by Android (Google) Code Review
Browse files

Merge "Clear sendingToBottom when animation is complete." into jb-dev

parents c2585467 3f99fde4
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;
            }