Merge "Merge "Remove display policy references while waiting for window animation to complete" into sc-dev am: 37f493f566 am: f8ca1f7ef9" into sc-v2-dev-plus-aosp
This commit is contained in:
committed by
Android (Google) Code Review
commit
519cdfe9d6
@@ -2598,6 +2598,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