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

Commit ced4e16d authored by Wei Sheng Shih's avatar Wei Sheng Shih Committed by Android (Google) Code Review
Browse files

Merge "Do not create starting window if app window isDrawn." into main

parents 6203f2d0 7947ff2e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2554,7 +2554,7 @@ final class ActivityRecord extends WindowToken implements WindowManagerService.A
        }
        final WindowState mainWin = findMainWindow(false /* includeStartingApp */);
        if (mainWin != null && mainWin.mWinAnimator.getShown()) {
        if (mainWin != null && mainWin.isDrawn()) {
            // App already has a visible window...why would you want a starting window?
            return false;
        }