aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/LatinIME.java
diff options
context:
space:
mode:
authorsatok <satok@google.com>2010-06-02 18:30:27 +0900
committersatok <satok@google.com>2010-06-02 19:18:22 +0900
commit4ee3676cf38f3f9b2587f37e259b6d7511ef4ab1 (patch)
tree39acf8d13039453bb57c0aeaecaeaab26df0522a /java/src/com/android/inputmethod/latin/LatinIME.java
parent7f96616c7595c69ea6ce9192d869a0c40ddb752e (diff)
downloadlatinime-4ee3676cf38f3f9b2587f37e259b6d7511ef4ab1.tar.gz
latinime-4ee3676cf38f3f9b2587f37e259b6d7511ef4ab1.tar.xz
latinime-4ee3676cf38f3f9b2587f37e259b6d7511ef4ab1.zip
Check suggested words whether they are from mainDic or not
- Added counters for suggestions by dictionarys - Added a counter for cancelled suggestions Change-Id: Ia7d3a73855b1e82b60a010f18dba4e1c0fe1c2bb
Diffstat (limited to '')
-rw-r--r--java/src/com/android/inputmethod/latin/LatinIME.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java
index 35edb8ae7..93c69ee71 100644
--- a/java/src/com/android/inputmethod/latin/LatinIME.java
+++ b/java/src/com/android/inputmethod/latin/LatinIME.java
@@ -331,12 +331,12 @@ public class LatinIME extends InputMethodService
if (mUserDictionary != null) mUserDictionary.close();
mUserDictionary = new UserDictionary(this, mInputLocale);
if (mContactsDictionary == null) {
- mContactsDictionary = new ContactsDictionary(this);
+ mContactsDictionary = new ContactsDictionary(this, Suggest.DIC_CONTACTS);
}
if (mAutoDictionary != null) {
mAutoDictionary.close();
}
- mAutoDictionary = new AutoDictionary(this, this, mInputLocale);
+ mAutoDictionary = new AutoDictionary(this, this, mInputLocale, Suggest.DIC_AUTO);
mSuggest.setUserDictionary(mUserDictionary);
mSuggest.setContactsDictionary(mContactsDictionary);
mSuggest.setAutoDictionary(mAutoDictionary);