Merge "Keeps the served view of the window when focus to the next window" into rvc-dev

This commit is contained in:
TreeHugger Robot
2020-04-27 04:40:38 +00:00
committed by Android (Google) Code Review

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;
}
}