Fix the spacebar language switcher
Change-Id: I54711ff2014facefe3afd22e536045cd0ffe4955
This commit is contained in:
parent
1b9eecb521
commit
61393a88b0
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue