Merge "Keeps the served view of the window when focus to the next window" into rvc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
6e9ee1c78f
@@ -645,11 +645,6 @@ public final class InputMethodManager {
|
|||||||
@Override
|
@Override
|
||||||
public void setCurrentRootView(ViewRootImpl rootView) {
|
public void setCurrentRootView(ViewRootImpl rootView) {
|
||||||
synchronized (mH) {
|
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;
|
mCurRootView = rootView;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user