diff --git a/mobile/android/base/GeckoInputConnection.java b/mobile/android/base/GeckoInputConnection.java index ce4bc57251b0..1e4d5ff2d64c 100644 --- a/mobile/android/base/GeckoInputConnection.java +++ b/mobile/android/base/GeckoInputConnection.java @@ -402,7 +402,11 @@ class GeckoInputConnection // reasonable, deterministic value notifySelectionChange(-1, -1); } - imm.restartInput(v); + try { + imm.restartInput(v); + } catch(RuntimeException e) { + Log.e(LOGTAG, "Error restarting input", e); + } } private void resetInputConnection() {