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

Change-Id: I70d098e733a560491610d016302b6a0d00113c25
This commit is contained in:
TreeHugger Robot
2020-04-27 05:09:47 +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;
}
}