Make sure IME focus is synced to View focus
am: dd228fbb4d
Change-Id: Ic1bd5be0bb52dc4692ef5dedce90d0b71c1ab013
This commit is contained in:
@@ -9888,6 +9888,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