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

Commit ff6c8ad5 authored by Wale Ogunwale's avatar Wale Ogunwale Committed by android-build-merger
Browse files

Merge "Ignore request to add starting window if already visible" into oc-dev am: 9daf0e62

am: 4dfb7e3d

Change-Id: I96444e4ebb10084b9109eb340f714bd3e9d80bcc
parents 73a634ce 4dfb7e3d
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -470,6 +470,13 @@ public class AppWindowContainerController
                return false;
            }

            final WindowState mainWin = mContainer.findMainWindow();
            if (mainWin != null && mainWin.isVisible() && mainWin.isDrawnLw()) {
                // App already has a visible window that is drawn...why would you want a starting
                // window?
                return false;
            }

            final int type = getStartingWindowType(newTask, taskSwitch, processRunning,
                    allowTaskSnapshot);