am c33208fe: Spell check the first word of the sentence

* commit 'c33208fe72662fd89b75e996dbd495237a0021d4':
  Spell check the first word of the sentence
This commit is contained in:
satok
2012-05-07 04:50:09 -07:00
committed by Android Git Automerger

View File

@@ -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);
}