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

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

Merge "Add null check in IMS hideWindow" into rvc-dev

parents 3d4c526b f739e47c
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -2284,7 +2284,9 @@ public class InputMethodService extends AbstractInputMethodService {
            // When insets API is enabled, it is responsible for client and server side
            // visibility of IME window.
            if (isVisibilityAppliedUsingInsetsConsumer()) {
                if (mInputView != null) {
                    mInputView.dispatchWindowVisibilityChanged(View.GONE);
                }
            } else {
                mWindow.hide();
            }