Merge "Destroy app-less surfaces when becoming invisible with no animation." into pi-dev
This commit is contained in:
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user