mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Set SuggestionSpan with FLAG_AUTO_CORRECTION as a composing span
Bug: 5460262 Change-Id: Ibeb875bb885fb663ed23f0299d671e995a66b642
This commit is contained in:
parent
ef0a7b7546
commit
53af4ae634
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user