Merge "Make sure IME focus is synced to View focus" into nyc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
b7efddfc41
@@ -9817,6 +9817,9 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
|
|||||||
public void dispatchFinishTemporaryDetach() {
|
public void dispatchFinishTemporaryDetach() {
|
||||||
onFinishTemporaryDetach();
|
onFinishTemporaryDetach();
|
||||||
mPrivateFlags3 &= ~PFLAG3_TEMPORARY_DETACH;
|
mPrivateFlags3 &= ~PFLAG3_TEMPORARY_DETACH;
|
||||||
|
if (hasWindowFocus() && hasFocus()) {
|
||||||
|
InputMethodManager.getInstance().focusIn(this);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user