Make IME less sticky when launching a new app

b/31382106

Change-Id: Iee60a2f7e6a70858623e80d4b8b68154d1941210
This commit is contained in:
Hyunyoung Song
2016-09-21 17:03:56 -07:00
parent 3f9d647de6
commit 7e83ab90ae

View File

@@ -97,6 +97,6 @@ public class ExtendedEditText extends EditText {
private boolean showSoftInput() {
return requestFocus() &&
((InputMethodManager) getContext().getSystemService(Context.INPUT_METHOD_SERVICE))
.showSoftInput(this, InputMethodManager.SHOW_FORCED);
.showSoftInput(this, InputMethodManager.SHOW_IMPLICIT);
}
}