diff options
author | 2013-10-04 23:26:18 +0900 | |
---|---|---|
committer | 2013-10-07 18:55:42 +0900 | |
commit | f3204eebb19f0f8fae9d6d81e7e2b430f29829a0 (patch) | |
tree | b109ea5081b5e06ab27e7293092e990f25c91c04 /java/src/com/android/inputmethod/latin/ContactsBinaryDictionary.java | |
parent | a8f4efd0132592c34ab87b6a3cf6ce1baa0f522d (diff) | |
download | latinime-f3204eebb19f0f8fae9d6d81e7e2b430f29829a0.tar.gz latinime-f3204eebb19f0f8fae9d6d81e7e2b430f29829a0.tar.xz latinime-f3204eebb19f0f8fae9d6d81e7e2b430f29829a0.zip |
Set the shortcut frequency correctly.
14 is the right value.
Bug: 11076722
Change-Id: I95d404b540f7fbe4932d1f8498cde23f1df0314f
Diffstat (limited to 'java/src/com/android/inputmethod/latin/ContactsBinaryDictionary.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/ContactsBinaryDictionary.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/java/src/com/android/inputmethod/latin/ContactsBinaryDictionary.java b/java/src/com/android/inputmethod/latin/ContactsBinaryDictionary.java index ffeb92784..47891c6b7 100644 --- a/java/src/com/android/inputmethod/latin/ContactsBinaryDictionary.java +++ b/java/src/com/android/inputmethod/latin/ContactsBinaryDictionary.java @@ -127,7 +127,7 @@ public class ContactsBinaryDictionary extends ExpandableBinaryDictionary { if (DEBUG) { Log.d(TAG, "loadAccountVocabulary: " + word); } - super.addWord(word, null /* shortcut */, FREQUENCY_FOR_CONTACTS, + super.addWord(word, null /* shortcut */, FREQUENCY_FOR_CONTACTS, 0 /* shortcutFreq */, false /* isNotAWord */); } } @@ -213,7 +213,7 @@ public class ContactsBinaryDictionary extends ExpandableBinaryDictionary { Log.d(TAG, "addName " + name + ", " + word + ", " + prevWord); } super.addWord(word, null /* shortcut */, FREQUENCY_FOR_CONTACTS, - false /* isNotAWord */); + 0 /* shortcutFreq */, false /* isNotAWord */); if (!TextUtils.isEmpty(prevWord)) { if (mUseFirstLastBigrams) { super.addBigram(prevWord, word, FREQUENCY_FOR_CONTACTS_BIGRAM, |