aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/ContactsDictionary.java
diff options
context:
space:
mode:
authorsatok <satok@google.com>2012-05-18 21:28:09 +0900
committerSatoshi Kataoka <satok@google.com>2012-05-28 14:34:02 +0900
commitfd53b8cc2b78acd7e33f4dc39cfc2faaea92f0f8 (patch)
treec7b286257dcbad49dea19a3981a43b689daca53c /java/src/com/android/inputmethod/latin/ContactsDictionary.java
parent739ff3cfc4dc9efde0d969d660bccc949c1fd84b (diff)
downloadlatinime-fd53b8cc2b78acd7e33f4dc39cfc2faaea92f0f8.tar.gz
latinime-fd53b8cc2b78acd7e33f4dc39cfc2faaea92f0f8.tar.xz
latinime-fd53b8cc2b78acd7e33f4dc39cfc2faaea92f0f8.zip
Forget user history
Bug: 4192129 Change-Id: Ic98398e5383093a1c24373849eadc48fc4d3626f
Diffstat (limited to 'java/src/com/android/inputmethod/latin/ContactsDictionary.java')
-rw-r--r--java/src/com/android/inputmethod/latin/ContactsDictionary.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/src/com/android/inputmethod/latin/ContactsDictionary.java b/java/src/com/android/inputmethod/latin/ContactsDictionary.java
index c9b8d6eb1..cbfbd0ec8 100644
--- a/java/src/com/android/inputmethod/latin/ContactsDictionary.java
+++ b/java/src/com/android/inputmethod/latin/ContactsDictionary.java
@@ -159,7 +159,7 @@ public class ContactsDictionary extends ExpandableDictionary {
super.addWord(word, null /* shortcut */,
FREQUENCY_FOR_CONTACTS);
if (!TextUtils.isEmpty(prevWord)) {
- super.setBigram(prevWord, word,
+ super.setBigramAndGetFrequency(prevWord, word,
FREQUENCY_FOR_CONTACTS_BIGRAM);
}
prevWord = word;