LatinIME/java/src/com/android/inputmethod
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
..
accessibility Fix master build. 2015-02-11 13:32:13 -08:00
compat Always specify non-null Locale object to SuggestionSpan 2015-04-20 20:29:44 -07:00
dictionarypack Do not re-download the unused dictionaries. 2015-04-15 11:12:40 -07:00
event Disable the Burmese keyboard. 2015-01-29 10:17:33 -08:00
keyboard Set background color for emoji category tabs. 2015-03-18 18:48:30 -07:00
latin Always specify non-null Locale object to SuggestionSpan 2015-04-20 20:29:44 -07:00