Merge "Keeps the served view of the window when focus to the next window" into rvc-dev am: 6e9ee1c78f
Change-Id: Ie1466e718a9dadb008120d515f2b7523625f3587
This commit is contained in:
@@ -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