Merge "Make sure IME focus is synced to View focus" into nyc-dev

This commit is contained in:
TreeHugger Robot
2016-08-29 22:35:21 +00:00
committed by Android (Google) Code Review

View File

@@ -9817,6 +9817,9 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
public void dispatchFinishTemporaryDetach() {
onFinishTemporaryDetach();
mPrivateFlags3 &= ~PFLAG3_TEMPORARY_DETACH;
if (hasWindowFocus() && hasFocus()) {
InputMethodManager.getInstance().focusIn(this);
}
}
/**