Merge "Set SuggestionSpan with FLAG_AUTO_CORRECTION as a composing span" into ics-mr0

This commit is contained in:
satok 2011-10-14 11:15:14 -07:00 committed by Android (Google) Code Review
commit 59a55fcbec

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