mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Confusingly, specifying a null Locale object to the constructor of SuggestionSpan does not necessarily mean that SuggestionSpan#getLocale() returns null. The constructor in question also receives Context object, and Context's locale can be used as a fallback locale to initialize locale of SuggestionSpan. With this CL, LatinIME always specify non-null Locale object when instantiating SuggestionSpan object. It basically corresponds to the active main dictionary, but can be Locale#ROOT when one locale is not determined for some reasons. BUG: 20435013 Change-Id: I2c152466410327300e7dba4d7ed9a22f57c17c4f |
||
---|---|---|
.. | ||
ActivityManagerCompatUtils.java | ||
AppWorkaroundsUtils.java | ||
BuildCompatUtils.java | ||
CharacterCompat.java | ||
CompatUtils.java | ||
ConnectivityManagerCompatUtils.java | ||
CursorAnchorInfoCompatWrapper.java | ||
DownloadManagerCompatUtils.java | ||
EditorInfoCompatUtils.java | ||
InputConnectionCompatUtils.java | ||
InputMethodManagerCompatWrapper.java | ||
InputMethodServiceCompatUtils.java | ||
InputMethodSubtypeCompatUtils.java | ||
IntentCompatUtils.java | ||
LocaleSpanCompatUtils.java | ||
LooperCompatUtils.java | ||
NotificationCompatUtils.java | ||
SettingsSecureCompatUtils.java | ||
SuggestionsInfoCompatUtils.java | ||
SuggestionSpanUtils.java | ||
TextInfoCompatUtils.java | ||
TextViewCompatUtils.java | ||
ViewCompatUtils.java | ||
ViewOutlineProviderCompatUtils.java | ||
ViewOutlineProviderCompatUtilsLXX.java |