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

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

Merge "Refine condition for starting window skip" into oc-dr1-dev

am: 612de053

Change-Id: I687dad0a2177c8235e0a2acfd574a92a2a5cd6bb
parents 5af90f9f 612de053
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -487,9 +487,8 @@ public class AppWindowContainerController
            }

            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?
            if (mainWin != null && mainWin.mWinAnimator.getShown()) {
                // App already has a visible window...why would you want a starting window?
                return false;
            }