aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorsatok <satok@google.com>2011-04-22 19:50:08 +0900
committersatok <satok@google.com>2011-04-22 19:50:08 +0900
commit61393a88b048cda18f475ec5f8bd23e12ff0b63c (patch)
tree08875c3ca379fa15b2977919a02bfe1791c74aaf /java
parent1b9eecb521862b4e75b0a34623efdc98087d75ba (diff)
downloadlatinime-61393a88b048cda18f475ec5f8bd23e12ff0b63c.tar.gz
latinime-61393a88b048cda18f475ec5f8bd23e12ff0b63c.tar.xz
latinime-61393a88b048cda18f475ec5f8bd23e12ff0b63c.zip
Fix the spacebar language switcher
Change-Id: I54711ff2014facefe3afd22e536045cd0ffe4955
Diffstat (limited to 'java')
-rw-r--r--java/src/com/android/inputmethod/deprecated/languageswitcher/LanguageSwitcher.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/java/src/com/android/inputmethod/deprecated/languageswitcher/LanguageSwitcher.java b/java/src/com/android/inputmethod/deprecated/languageswitcher/LanguageSwitcher.java
index e4b2e035c..1a606eaaf 100644
--- a/java/src/com/android/inputmethod/deprecated/languageswitcher/LanguageSwitcher.java
+++ b/java/src/com/android/inputmethod/deprecated/languageswitcher/LanguageSwitcher.java
@@ -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;