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

am: 6a63c70ecc

Change-Id: Iac6b4466bd57969f5f49facf203d0bade3d8a64b
This commit is contained in:
Yohei Yukawa
2016-08-06 18:37:53 +00:00
committed by android-build-merger

View File

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