LatinIME/java/src/com/android/inputmethod/compat
Yohei Yukaw 490fa47a46 Always specify non-null Locale object to SuggestionSpan
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
2015-04-20 20:29:44 -07:00
..
ActivityManagerCompatUtils.java Add a utility of isLowRamDevice 2013-09-24 19:53:35 +09:00
AppWorkaroundsUtils.java [IL21] Move the workaround utils to a better place. 2013-12-20 16:48:54 +09:00
BuildCompatUtils.java Remove BuildCompatUtils.VERSION_CODES_LXX 2014-10-22 01:29:58 +09:00
CharacterCompat.java Add allowRedundantMoreKeys attribute 2014-09-25 15:12:06 +09:00
CompatUtils.java Fix some compiler warnings 2014-10-21 19:28:37 +09:00
ConnectivityManagerCompatUtils.java Merge the dictionary pack in Latin IME. 2013-03-19 15:40:14 +09:00
CursorAnchorInfoCompatWrapper.java Fix Javadoc and null analysis related warnings 2014-10-23 09:58:42 +09:00
DownloadManagerCompatUtils.java Clean up compatible utility classes 2014-08-04 01:21:29 +00:00
EditorInfoCompatUtils.java Small code cleanups 2013-01-07 12:13:42 +09:00
InputConnectionCompatUtils.java Follow up API signature change 2014-09-03 01:13:15 -07:00
InputMethodManagerCompatWrapper.java Clean up compatible utility classes 2014-08-04 01:21:29 +00:00
InputMethodServiceCompatUtils.java Enable InputMethodService#onUpdateCursor behind the flag 2014-07-20 20:56:52 +09:00
InputMethodSubtypeCompatUtils.java Fix master build. 2015-02-11 13:32:13 -08:00
IntentCompatUtils.java Clean up IntentCompatUtils a bit 2013-05-21 15:13:23 -07:00
LocaleSpanCompatUtils.java Fix some compiler warnings 2014-10-21 19:28:37 +09:00
LooperCompatUtils.java Fix some flaky tests. 2014-04-10 17:32:05 +09:00
NotificationCompatUtils.java Fix master build. 2015-02-11 13:32:13 -08:00
SettingsSecureCompatUtils.java Small code cleanups 2013-01-07 12:13:42 +09:00
SuggestionSpanUtils.java Always specify non-null Locale object to SuggestionSpan 2015-04-20 20:29:44 -07:00
SuggestionsInfoCompatUtils.java Small code cleanups 2013-01-07 12:13:42 +09:00
TextInfoCompatUtils.java Simplify the wrapper for TextInfo#getCharSequence 2014-07-09 23:52:44 +09:00
TextViewCompatUtils.java Update setup wizard icons 2013-04-18 13:15:53 +09:00
ViewCompatUtils.java Add keyboard shadow 2014-10-09 12:39:15 +09:00
ViewOutlineProviderCompatUtils.java Remove BuildCompatUtils.VERSION_CODES_LXX 2014-10-22 01:29:58 +09:00
ViewOutlineProviderCompatUtilsLXX.java fix build 2014-10-18 07:37:46 -07:00