Skip to content

Commit 9919194

Browse files
committed
fixed non closing keyboard
1 parent b88aec7 commit 9919194

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/main/java/net/buggy/components/ViewUtils.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
import android.view.inputmethod.InputMethodManager;
2828
import android.widget.EditText;
2929

30-
import static android.view.inputmethod.InputMethodManager.HIDE_IMPLICIT_ONLY;
3130
import static android.view.inputmethod.InputMethodManager.HIDE_NOT_ALWAYS;
3231

3332
public 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")

0 commit comments

Comments
 (0)