Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0314fa28 authored by Shawn Willden's avatar Shawn Willden Committed by Android Git Automerger
Browse files

Merge branch 'master' of...

parents b8d342da 6c2f4484
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -727,14 +727,10 @@ public class SpellChecker implements SpellCheckerSessionListener {
                }
            }

            if (scheduleOtherSpellCheck && wordStart <= end) {
            if (scheduleOtherSpellCheck && wordStart != BreakIterator.DONE && wordStart <= end) {
                // Update range span: start new spell check from last wordStart
                setRangeSpan(editable, wordStart, end);
            } else {
                if (DBG && scheduleOtherSpellCheck) {
                    Log.w(TAG, "Trying to schedule spellcheck for invalid region, from "
                            + wordStart + " to " + end);
                }
                removeRangeSpan(editable);
            }