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

Commit 37f493f5 authored by Winson Chung's avatar Winson Chung Committed by Android (Google) Code Review
Browse files

Merge "Remove display policy references while waiting for window animation to complete" into sc-dev

parents aadedc76 0faf1aa9
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2568,6 +2568,7 @@ class WindowState extends WindowContainer<WindowState> implements WindowManagerP
    private void setupWindowForRemoveOnExit() {
        mRemoveOnExit = true;
        setDisplayLayoutNeeded();
        getDisplayContent().getDisplayPolicy().removeWindowLw(this);
        // Request a focus update as this window's input channel is already gone. Otherwise
        // we could have no focused window in input manager.
        final boolean focusChanged = mWmService.updateFocusedWindowLocked(