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

Commit 0d05be3f authored by Android (Google) Code Review's avatar Android (Google) Code Review
Browse files

Merge change 22544 into eclair

* changes:
  Fix bug that would leave old windows around.
parents 094f44ba 83360b31
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -8850,6 +8850,7 @@ public class WindowManagerService extends IWindowManager.Stub
                                    "Now opening app" + wtoken);
                            wtoken.reportedVisible = false;
                            wtoken.inPendingTransaction = false;
                            wtoken.animation = null;
                            setTokenVisibilityLocked(wtoken, lp, true, transit, false);
                            wtoken.updateReportedVisibilityLocked();
                            wtoken.showAllWindowsLocked();
@@ -8860,6 +8861,7 @@ public class WindowManagerService extends IWindowManager.Stub
                            if (DEBUG_APP_TRANSITIONS) Log.v(TAG,
                                    "Now closing app" + wtoken);
                            wtoken.inPendingTransaction = false;
                            wtoken.animation = null;
                            setTokenVisibilityLocked(wtoken, lp, false, transit, false);
                            wtoken.updateReportedVisibilityLocked();
                            // Force the allDrawn flag, because we want to start