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

Commit bc89e592 authored by Robert Carr's avatar Robert Carr Committed by Rob Carr
Browse files

Correct error in window lifetime.

Correct a simple logic error where application stop state is incorrectly
reset.

Bug: 27112965
Change-Id: I3058378c1e240e0a02665ad479678723e14921aa
parent dc414fa4
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