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

Commit b1ef7045 authored by satok's avatar satok Committed by Android Git Automerger
Browse files

am 0631373d: am c33208fe: Spell check the first word of the sentence

* commit '0631373d':
  Spell check the first word of the sentence
parents 76e46e31 0631373d
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -397,14 +397,6 @@ public abstract class SpellCheckerService extends Service {
                }
                wordStart = wordIterator.getBeginning(wordEnd);
            }
            if (originalText.length() >= SpellChecker.WORD_ITERATOR_INTERVAL
                    && wordItems.size() >= 2) {
                if (DBG) {
                    Log.w(TAG, "Remove possibly divided word: "
                            + wordItems.get(0).mTextInfo.getText());
                }
                wordItems.remove(0);
            }
            return new SentenceTextInfoParams(originalTextInfo, wordItems);
        }