Merge "Remove display policy references while waiting for window animation to complete" into sc-dev am: 37f493f566
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14951219 Change-Id: Ic6670c6dca92843cb56d124af2e404b64a8e24b0
This commit is contained in:
@@ -2568,6 +2568,7 @@ class WindowState extends WindowContainer<WindowState> implements WindowManagerP
|
|||||||
private void setupWindowForRemoveOnExit() {
|
private void setupWindowForRemoveOnExit() {
|
||||||
mRemoveOnExit = true;
|
mRemoveOnExit = true;
|
||||||
setDisplayLayoutNeeded();
|
setDisplayLayoutNeeded();
|
||||||
|
getDisplayContent().getDisplayPolicy().removeWindowLw(this);
|
||||||
// Request a focus update as this window's input channel is already gone. Otherwise
|
// Request a focus update as this window's input channel is already gone. Otherwise
|
||||||
// we could have no focused window in input manager.
|
// we could have no focused window in input manager.
|
||||||
final boolean focusChanged = mWmService.updateFocusedWindowLocked(
|
final boolean focusChanged = mWmService.updateFocusedWindowLocked(
|
||||||
|
|||||||
Reference in New Issue
Block a user