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

Commit e974c347 authored by Taran Singh's avatar Taran Singh Committed by Android (Google) Code Review
Browse files

Merge "Revert "Keeps the served view of the window when focus to the ne..."" into rvc-dev

parents 1255a2d2 0dbd6c4b
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -645,6 +645,11 @@ public final class InputMethodManager {
        @Override
        public void setCurrentRootView(ViewRootImpl rootView) {
            synchronized (mH) {
                if (mCurRootView != null) {
                    // Reset the last served view and restart window focus state of the root view.
                    mCurRootView.getImeFocusController().setServedView(null);
                    mRestartOnNextWindowFocus = true;
                }
                mCurRootView = rootView;
            }
        }