aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/LatinIME.java
diff options
context:
space:
mode:
authorsatok <satok@google.com>2010-05-07 19:57:51 +0900
committersatok <satok@google.com>2010-05-07 19:57:51 +0900
commit53393240e8621aadcfd55bdbafd96c620efda479 (patch)
tree1b54ab8792a8fd3add27ad7bf2b7872e1401ba47 /java/src/com/android/inputmethod/latin/LatinIME.java
parent5c7c33735df5313ecbf8e40efd72edeb0cf941b2 (diff)
parentf53d0da540d4aca9c0b78938094e13a828ab1bd6 (diff)
downloadlatinime-53393240e8621aadcfd55bdbafd96c620efda479.tar.gz
latinime-53393240e8621aadcfd55bdbafd96c620efda479.tar.xz
latinime-53393240e8621aadcfd55bdbafd96c620efda479.zip
Merge commit 'goog/master'
Conflicts: native/Android.mk
Diffstat (limited to 'java/src/com/android/inputmethod/latin/LatinIME.java')
-rw-r--r--java/src/com/android/inputmethod/latin/LatinIME.java2
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 2485a328d..1586a758b 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();
@@ -370,6 +371,7 @@ public class LatinIME extends InputMethodService
if (mLanguageSwitcher != null) {
mLanguageSwitcher.loadLocales(
PreferenceManager.getDefaultSharedPreferences(this));
+ mLanguageSwitcher.setSystemLocale(conf.locale);
toggleLanguage(true, true);
} else {
reloadKeyboards();