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

* commit 'd1e323b272db90db426a4add18af4993f41ae361':
  Not to add invalid spell check spans Bug: 6464197
This commit is contained in:
satok
2012-05-09 01:49:57 -07:00
committed by Android Git Automerger

View File

@@ -611,6 +611,9 @@ public class SpellChecker implements SpellCheckerSessionListener {
if (spellCheckEnd < start) {
break;
}
if (spellCheckEnd <= spellCheckStart) {
break;
}
if (createSpellCheckSpan) {
addSpellCheckSpan(editable, spellCheckStart, spellCheckEnd);
}