Skip to content
Snippets Groups Projects
Commit 61393a88 authored by satok's avatar satok
Browse files

Fix the spacebar language switcher

Change-Id: I54711ff2014facefe3afd22e536045cd0ffe4955
parent 1b9eecb5
No related branches found
No related tags found
No related merge requests found
...@@ -83,6 +83,7 @@ public class LanguageSwitcher { ...@@ -83,6 +83,7 @@ public class LanguageSwitcher {
String currentLanguage = sp.getString(Settings.PREF_INPUT_LANGUAGE, null); String currentLanguage = sp.getString(Settings.PREF_INPUT_LANGUAGE, null);
if (TextUtils.isEmpty(selectedLanguages)) { if (TextUtils.isEmpty(selectedLanguages)) {
mSelectedLanguageArray = EMPTY_STIRNG_ARRAY; mSelectedLanguageArray = EMPTY_STIRNG_ARRAY;
mSelectedLanguages = null;
loadDefaults(); loadDefaults();
if (mLocales.size() == 0) { if (mLocales.size() == 0) {
return false; return false;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment