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

Commit dcc70158 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 am: 57305841

Change-Id: I7cb4d476024071911ad0cfc442ad58dab5504292
parents f5610c23 57305841
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;
            }
        }