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

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

Merge "Destroy app-less surfaces when becoming invisible with no animation." into pi-dev

am: d7681ccd

Change-Id: I3452a981dc23ea9617e7e78af4c0c7f93f60ca52
parents 9d9dcadf d7681ccd
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -2204,7 +2204,7 @@ public class WindowManagerService extends IWindowManager.Stub
            if (mInputMethodWindow == win) {
            if (mInputMethodWindow == win) {
                setInputMethodWindowLocked(null);
                setInputMethodWindowLocked(null);
            }
            }
            boolean stopped = win.mAppToken != null ? win.mAppToken.mAppStopped : false;
            boolean stopped = win.mAppToken != null ? win.mAppToken.mAppStopped : true;
            // We set mDestroying=true so AppWindowToken#notifyAppStopped in-to destroy surfaces
            // We set mDestroying=true so AppWindowToken#notifyAppStopped in-to destroy surfaces
            // will later actually destroy the surface if we do not do so here. Normally we leave
            // will later actually destroy the surface if we do not do so here. Normally we leave
            // this to the exit animation.
            // this to the exit animation.