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

Commit b88c7977 authored by Tiger Huang's avatar Tiger Huang Committed by Android (Google) Code Review
Browse files

Merge "Update input windows when moving display to top"

parents 79e0da28 fc90c132
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -198,7 +198,8 @@ class RootWindowContainer extends WindowContainer<DisplayContent>

    @Override
    void onChildPositionChanged() {
        mWmService.updateFocusedWindowLocked(UPDATE_FOCUS_NORMAL, false /* updateInputWindows */);
        mWmService.updateFocusedWindowLocked(UPDATE_FOCUS_NORMAL,
                !mWmService.mPerDisplayFocusEnabled /* updateInputWindows */);
    }

    DisplayContent getDisplayContent(int displayId) {