am c1981eb8: am 59a55fcb: Merge "Set SuggestionSpan with FLAG_AUTO_CORRECTION as a composing span" into ics-mr0

* commit 'c1981eb83b8be28752ff9d9ca27fa856074e83c8':
  Set SuggestionSpan with FLAG_AUTO_CORRECTION as a composing span
main
satok 2011-10-14 11:23:50 -07:00 committed by Android Git Automerger
commit 7d3f77b6ed
1 changed files with 2 additions and 1 deletions

View File

@ -69,7 +69,8 @@ public class SuggestionSpanUtils {
Log.w(TAG, "Suggestion span was not created."); Log.w(TAG, "Suggestion span was not created.");
return text; return text;
} }
spannable.setSpan(ss, 0, text.length(), Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); spannable.setSpan(ss, 0, text.length(),
Spanned.SPAN_EXCLUSIVE_EXCLUSIVE | Spanned.SPAN_COMPOSING);
return spannable; return spannable;
} }