diff --git a/java/src/com/android/inputmethod/deprecated/languageswitcher/LanguageSwitcher.java b/java/src/com/android/inputmethod/deprecated/languageswitcher/LanguageSwitcher.java
index e4b2e035c724fb4dc03d0e2f3ed25ff039a5382c..1a606eaafd272806f6494ae91231cf1d20e5ce86 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;