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

Commit 2f5f5ed5 authored by Winson Chung's avatar Winson Chung Committed by Automerger Merge Worker
Browse files

Merge "Remove display policy references while waiting for window animation to...

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

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14951219

Change-Id: Ic0989d856dae55285a0b0da81612d311d59084ef
parents 34a6db53 37f493f5
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(