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

Commit 9daf0e62 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Ignore request to add starting window if already visible" into oc-dev

parents 03150c4a 4ba3e834
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);