Make sure IME focus is synced to View focus am: dd228fbb4d

am: 9f3e418f92

Change-Id: I3f1091f0e7f8e7f2087f87a0ed8947a2978877d4
This commit is contained in:
Yohei Yukawa
2016-08-06 18:32:40 +00:00
committed by android-build-merger

View File

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