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

Commit a1c42fc8 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "[ImeStateComputer]: Preserve last visible state for STATE_UNCHANGD"

parents 9af18fd9 c6924f7c
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -380,7 +380,12 @@ public final class ImeVisibilityStateComputer {
                }
                break;
            case WindowManager.LayoutParams.SOFT_INPUT_STATE_UNCHANGED:
                // Do nothing.
                // Do nothing but preserving the last IME requested visibility state.
                final ImeTargetWindowState lastState =
                        getWindowStateOrNull(mService.mLastImeTargetWindow);
                if (lastState != null) {
                    state.setRequestedImeVisible(lastState.mRequestedImeVisible);
                }
                break;
            case WindowManager.LayoutParams.SOFT_INPUT_STATE_HIDDEN:
                if (isForwardNavigation) {