Merge "Keeps the served view of the window when focus to the next window" into rvc-dev am: 6e9ee1c78f am: 21f73b0d90 am: 4db9ae8cf1

Change-Id: I3629871f342faf0f21d000422ca847c482bd9b73
This commit is contained in:
TreeHugger Robot
2020-04-27 05:18:17 +00:00
committed by Automerger Merge Worker

View File

@@ -645,11 +645,6 @@ 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;
}
}