Merge "Revert "Keeps the served view of the window when focus to the ne..."" into rvc-dev am: e974c347fd am: 57305841de am: 1e9ccb8a60
Change-Id: Ibf06191177d5d1c9eb05e351a4b45c319bcd1fae
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user