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

Commit 98822bfd authored by Winson Chung's avatar Winson Chung Committed by android-build-merger
Browse files

Prevent IME adjustment for stacks not affected by docked stack resizing

am: fef058d7

Change-Id: I18ce84aa67b20b0fbbc44279c89edff107b9d7be
parents 1aef4da2 fef058d7
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);