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

Commit cff765a2 authored by Rob Carr's avatar Rob Carr Committed by android-build-merger
Browse files

Merge "Correct error in window lifetime." into nyc-dev

am: 2b637308

* commit '2b637308':
  Correct error in window lifetime.
parents 525aacae 2b637308
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -4236,7 +4236,6 @@ public class WindowManagerService extends IWindowManager.Stub

            mOpeningApps.remove(wtoken);
            mClosingApps.remove(wtoken);
            wtoken.mAppStopped = false;
            wtoken.waitingToShow = false;
            wtoken.hiddenRequested = !visible;

@@ -4246,6 +4245,8 @@ public class WindowManagerService extends IWindowManager.Stub
                // if made visible again.
                wtoken.appDied = false;
                wtoken.removeAllWindows();
            } else if (visible) {
                wtoken.mAppStopped = false;
            }

            // If we are preparing an app transition, then delay changing