File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
src/main/java/net/buggy/components Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change 2727import android .view .inputmethod .InputMethodManager ;
2828import android .widget .EditText ;
2929
30- import static android .view .inputmethod .InputMethodManager .HIDE_IMPLICIT_ONLY ;
3130import static android .view .inputmethod .InputMethodManager .HIDE_NOT_ALWAYS ;
3231
3332public class ViewUtils {
@@ -56,8 +55,7 @@ public static void hideSoftKeyboard(View view) {
5655 InputMethodManager inputMethodManager =
5756 (InputMethodManager ) view .getContext ().getSystemService (Activity .INPUT_METHOD_SERVICE );
5857
59- inputMethodManager .hideSoftInputFromWindow (view .getWindowToken (),
60- HIDE_NOT_ALWAYS & HIDE_IMPLICIT_ONLY );
58+ inputMethodManager .hideSoftInputFromWindow (view .getWindowToken (), HIDE_NOT_ALWAYS );
6159 }
6260
6361 @ SuppressWarnings ("deprecation" )
You can’t perform that action at this time.
0 commit comments