diff options
author | 2010-05-04 12:05:33 -0700 | |
---|---|---|
committer | 2010-05-04 12:05:33 -0700 | |
commit | b1068051c775f395e2e3e75877be74fa62f2a8df (patch) | |
tree | 4090b1bce9e9c09e5ecf4e89eba47e46192b9a6a /java/src/com/android/inputmethod/latin/LatinIME.java | |
parent | 8701305f4f8db3347eb958f3b3b37d8a20cd45c3 (diff) | |
parent | f02964264f196447b03a88591a2964b67c318718 (diff) | |
download | latinime-b1068051c775f395e2e3e75877be74fa62f2a8df.tar.gz latinime-b1068051c775f395e2e3e75877be74fa62f2a8df.tar.xz latinime-b1068051c775f395e2e3e75877be74fa62f2a8df.zip |
am f0296426: Don\'t auto-select the system language in IME language selection screen.
Merge commit 'f02964264f196447b03a88591a2964b67c318718' into froyo-plus-aosp
* commit 'f02964264f196447b03a88591a2964b67c318718':
Don't auto-select the system language in IME language selection screen.
Diffstat (limited to 'java/src/com/android/inputmethod/latin/LatinIME.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/LatinIME.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java index d0baed52a..b4ed80c1f 100644 --- a/java/src/com/android/inputmethod/latin/LatinIME.java +++ b/java/src/com/android/inputmethod/latin/LatinIME.java @@ -283,6 +283,7 @@ public class LatinIME extends InputMethodService mKeyboardSwitcher = new KeyboardSwitcher(this, this); mKeyboardSwitcher.setLanguageSwitcher(mLanguageSwitcher); mSystemLocale = conf.locale.toString(); + mLanguageSwitcher.setSystemLocale(conf.locale); String inputLanguage = mLanguageSwitcher.getInputLanguage(); if (inputLanguage == null) { inputLanguage = conf.locale.toString(); @@ -368,6 +369,7 @@ public class LatinIME extends InputMethodService if (mLanguageSwitcher != null) { mLanguageSwitcher.loadLocales( PreferenceManager.getDefaultSharedPreferences(this)); + mLanguageSwitcher.setSystemLocale(conf.locale); toggleLanguage(true, true); } else { reloadKeyboards(); |