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

Commit b2988f3e authored by Taran Singh's avatar Taran Singh Committed by Automerger Merge Worker
Browse files

Merge "Revert "Keeps the served view of the window when focus to the ne...""...

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

Change-Id: I82c5d52bd8d07fd9c6aefbc123b5f05f4b61426f
parents 42eb496b e974c347
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;
            }
        }