Bug 860305 - Catch possible RuntimeException in GeckoInputConnection.restartInput. r=snorp

This commit is contained in:
Dylan Roeh committed 2015-08-18 08:43:50 -05:00
1 parent f655040584
commit 0936dade6e
1 file changed
+5 -1
@@ -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() {