diff --git a/mobile/android/base/GeckoInputConnection.java b/mobile/android/base/GeckoInputConnection.java index f9131097998..3fa548e3840 100644 --- a/mobile/android/base/GeckoInputConnection.java +++ b/mobile/android/base/GeckoInputConnection.java @@ -230,16 +230,8 @@ public class GeckoInputConnection extract.selectionStart = Selection.getSelectionStart(content); extract.selectionEnd = Selection.getSelectionEnd(content); extract.startOffset = 0; + extract.text = content.toString(); - try { - extract.text = content.toString(); - } catch (IndexOutOfBoundsException iob) { - Log.d(LOGTAG, - "IndexOutOfBoundsException thrown from getExtractedText(). start: " - + Selection.getSelectionStart(content) - + " end: " + Selection.getSelectionEnd(content)); - return null; - } return extract; }