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

Commit b5540300 authored by Jorim Jaggi's avatar Jorim Jaggi Committed by Android (Google) Code Review
Browse files

Merge "Always remove orphaned starting windows, no matter what the state" into oc-dev

parents 2719c3bf cb956050
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -2174,9 +2174,7 @@ final class ActivityRecord extends ConfigurationContainer implements AppWindowCo
    }

    void removeOrphanedStartingWindow(boolean behindFullscreenActivity) {
        if (state == INITIALIZING
                && mStartingWindowState == STARTING_WINDOW_SHOWN
                && behindFullscreenActivity) {
        if (mStartingWindowState == STARTING_WINDOW_SHOWN && behindFullscreenActivity) {
            if (DEBUG_VISIBILITY) Slog.w(TAG_VISIBILITY, "Found orphaned starting window " + this);
            mStartingWindowState = STARTING_WINDOW_REMOVED;
            mWindowContainerController.removeStartingWindow();