Merge "Fix the spacebar language switcher"

main
satok 2011-04-22 03:55:05 -07:00 committed by Android (Google) Code Review
commit c82b8dbd4a
1 changed files with 1 additions and 0 deletions

View File

@ -83,6 +83,7 @@ public class LanguageSwitcher {
String currentLanguage = sp.getString(Settings.PREF_INPUT_LANGUAGE, null);
if (TextUtils.isEmpty(selectedLanguages)) {
mSelectedLanguageArray = EMPTY_STIRNG_ARRAY;
mSelectedLanguages = null;
loadDefaults();
if (mLocales.size() == 0) {
return false;