Skip to content

Commit 6042c00

Browse files
Fix: Force keyboard dismissal on non-touch devices (#13337)
1 parent 515bb6e commit 6042c00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/org/schabi/newpipe/util/KeyboardUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public static void hideKeyboard(final Activity activity, final EditText editText
4848
final InputMethodManager imm = ContextCompat.getSystemService(activity,
4949
InputMethodManager.class);
5050
imm.hideSoftInputFromWindow(editText.getWindowToken(),
51-
InputMethodManager.HIDE_NOT_ALWAYS);
51+
0);
5252

5353
editText.clearFocus();
5454
}

0 commit comments

Comments
 (0)