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

Commit fef058d7 authored by Winson Chung's avatar Winson Chung
Browse files

Prevent IME adjustment for stacks not affected by docked stack resizing

Bug: 37358175
Test: Resize docked stack while PIP is up
Change-Id: I4f057f6671e8c164624359bf3532f9a22fdf768e
parent 709904f8
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1954,7 +1954,8 @@ class DisplayContent extends WindowContainer<DisplayContent.DisplayChildWindowCo
            for (int i = mTaskStackContainers.size() - 1; i >= 0; --i) {
                final TaskStack stack = mTaskStackContainers.get(i);
                final boolean isDockedOnBottom = stack.getDockSide() == DOCKED_BOTTOM;
                if (stack.isVisible() && (imeOnBottom || isDockedOnBottom)) {
                if (stack.isVisible() && (imeOnBottom || isDockedOnBottom) &&
                        StackId.isStackAffectedByDragResizing(stack.mStackId)) {
                    stack.setAdjustedForIme(imeWin, imeOnBottom && imeHeightChanged);
                } else {
                    stack.resetAdjustedForIme(false);