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

Commit d1e323b2 authored by satok's avatar satok Committed by Android (Google) Code Review
Browse files

Merge "Not to add invalid spell check spans Bug: 6464197" into jb-dev

parents 1e5c3336 a4c82c1c
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -611,6 +611,9 @@ public class SpellChecker implements SpellCheckerSessionListener {
                    if (spellCheckEnd < start) {
                        break;
                    }
                    if (spellCheckEnd <= spellCheckStart) {
                        break;
                    }
                    if (createSpellCheckSpan) {
                        addSpellCheckSpan(editable, spellCheckStart, spellCheckEnd);
                    }