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

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

Change-Id: I207eb0c84035f5bb9d484a88952342a829158483
parents c9fd4f8e dcc70158
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;
            }
        }