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

am: d7681ccd25

Change-Id: I3452a981dc23ea9617e7e78af4c0c7f93f60ca52
This commit is contained in:
Rob Carr
2018-04-23 17:54:05 -07:00
committed by android-build-merger

View File

@@ -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.