Added a comment

This commit is contained in:
Alex Dochioiu 2023-10-11 10:49:44 +03:00
parent b3b8923014
commit c059c5a50e
1 changed files with 1 additions and 0 deletions

View File

@ -1528,6 +1528,7 @@ final public class InAppWebView extends InputAwareWebView implements InAppWebVie
boolean isAcceptingText = false; boolean isAcceptingText = false;
try { try {
if (imm != null) { if (imm != null) {
// imm.isAcceptingText() seems to sometimes crash on some devices
isAcceptingText = imm.isAcceptingText(); isAcceptingText = imm.isAcceptingText();
} }
} catch (Exception ignored) { } catch (Exception ignored) {