Update InAppWebView.java

This commit is contained in:
Lorenzo Pichilli 2022-04-16 00:59:44 +02:00 committed by GitHub
parent f43c8c2c68
commit 96b6525781
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1303,7 +1303,6 @@ final public class InAppWebView extends InputAwareWebView {
InputMethodManager imm =
(InputMethodManager) getContext().getSystemService(INPUT_METHOD_SERVICE);
if (containerView != null && imm != null && !imm.isAcceptingText()) {
imm.hideSoftInputFromWindow(
containerView.getWindowToken(), InputMethodManager.HIDE_NOT_ALWAYS);
}