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

Commit c4f8175e authored by Jorim Jaggi's avatar Jorim Jaggi Committed by android-build-merger
Browse files

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

am: b5540300

Change-Id: Iefaf12841c87abc14cac229ac4a27959d49d573a
parents 28106191 b5540300
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();