mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-26 04:22:30 -10:00
Bug 860305 - Catch possible RuntimeException in GeckoInputConnection.restartInput. r=snorp
This commit is contained in:
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() {
|
||||
|
||||
Reference in new issue
Block a user