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

Commit 3442c123 authored by Chong Zhang's avatar Chong Zhang Committed by Android (Google) Code Review
Browse files

Merge "Do not adjust for IME window if docked stack is not visible"

parents d86da085 feea9ca7
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -8109,7 +8109,9 @@ public class WindowManagerService extends IWindowManager.Stub
                        final WindowState imeWin = mInputMethodWindow;
                        final TaskStack focusedStack =
                                mCurrentFocus != null ? mCurrentFocus.getStack() : null;
                        if (imeWin != null && focusedStack != null && imeWin.isVisibleNow()
                        if (imeWin != null && imeWin.isVisibleNow()
                                && isStackVisibleLocked(DOCKED_STACK_ID)
                                && focusedStack != null
                                && focusedStack.getDockSide() == DOCKED_BOTTOM){
                            final ArrayList<TaskStack> stacks = displayContent.getStacks();
                            for (int i = stacks.size() - 1; i >= 0; --i) {