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

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

Merge "Optimization of the request of the sentence level spell check"

parents ffb66ec2 fe5a51ee
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -494,6 +494,10 @@ public class SpellChecker implements SpellCheckerSessionListener {
                    editable.removeSpan(mRange);
                    return;
                }
                // Stop spell checking when there are no characters in the range.
                if (wordEnd < start) {
                    return;
                }
                wordStart = regionEnd;
                // TODO: Find the start position of the sentence.
                // Set span with the context