aboutsummaryrefslogtreecommitdiffstats
path: root/java/src
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2011-02-24 16:18:24 +0900
committerTadashi G. Takaoka <takaoka@google.com>2011-02-24 16:18:24 +0900
commit27023341658b4cf5430d18ddb94fd9502ecfe3cb (patch)
treed9ad463582ba3edcd380ed99ab6c088d10240dae /java/src
parent435711dee0c19624c3ffd34b096dfec3c33a1efa (diff)
downloadlatinime-27023341658b4cf5430d18ddb94fd9502ecfe3cb.tar.gz
latinime-27023341658b4cf5430d18ddb94fd9502ecfe3cb.tar.xz
latinime-27023341658b4cf5430d18ddb94fd9502ecfe3cb.zip
Fix AutoText enabling timing
Bug: 3479978 Change-Id: Ic3a9e947536b1508eb2bbe45753d6f7c0e99e416
Diffstat (limited to 'java/src')
-rw-r--r--java/src/com/android/inputmethod/latin/LatinIME.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java
index 40cebb395..381dfc4a9 100644
--- a/java/src/com/android/inputmethod/latin/LatinIME.java
+++ b/java/src/com/android/inputmethod/latin/LatinIME.java
@@ -411,7 +411,6 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
}
private void initSuggest() {
- updateAutoTextEnabled();
String locale = mSubtypeSwitcher.getInputLocaleStr();
Locale savedLocale = mSubtypeSwitcher.changeSystemLocale(new Locale(locale));
@@ -425,6 +424,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
int mainDicResId = Utils.getMainDictionaryResourceId(res);
mSuggest = new Suggest(this, mainDicResId);
loadAndSetAutoCorrectionThreshold(prefs);
+ updateAutoTextEnabled();
mUserDictionary = new UserDictionary(this, locale);
mSuggest.setUserDictionary(mUserDictionary);