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

Commit d7681ccd authored by Rob Carr's avatar Rob Carr Committed by Android (Google) Code Review
Browse files

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

parents a16cc421 d86fd3e7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2204,7 +2204,7 @@ public class WindowManagerService extends IWindowManager.Stub
            if (mInputMethodWindow == win) {
                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
            // will later actually destroy the surface if we do not do so here. Normally we leave
            // this to the exit animation.