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

Commit 59a55fcb authored by satok's avatar satok Committed by Android (Google) Code Review
Browse files

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

parents ed6bc82d 53af4ae6
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -69,7 +69,8 @@ public class SuggestionSpanUtils {
            Log.w(TAG, "Suggestion span was not created.");
            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;
    }