aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/LatinIME.java
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2011-05-25 21:22:18 +0900
committerJean Chalard <jchalard@google.com>2011-05-25 21:24:07 +0900
commit8ef4dd9af86d575e6b3cce76ccd141728308aada (patch)
tree5c27dcb510198140200c56f53dce99e52987bc12 /java/src/com/android/inputmethod/latin/LatinIME.java
parent9e5be6caad4654bbb765161a9ddae22949695dd3 (diff)
downloadlatinime-8ef4dd9af86d575e6b3cce76ccd141728308aada.tar.gz
latinime-8ef4dd9af86d575e6b3cce76ccd141728308aada.tar.xz
latinime-8ef4dd9af86d575e6b3cce76ccd141728308aada.zip
Stop promoting auto dictionary words to the user dict.
Also see change I5a57ecc8 which is another fix for the same problem. Bug: 3459274 Change-Id: Ica2bb5b5aa4362d538df3765559d676c1aab4a85
Diffstat (limited to 'java/src/com/android/inputmethod/latin/LatinIME.java')
-rw-r--r--java/src/com/android/inputmethod/latin/LatinIME.java7
1 files changed, 0 insertions, 7 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java
index d625951fc..3a71b5402 100644
--- a/java/src/com/android/inputmethod/latin/LatinIME.java
+++ b/java/src/com/android/inputmethod/latin/LatinIME.java
@@ -1635,8 +1635,6 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar
/**
* Commits the chosen word to the text field and saves it for later
* retrieval.
- * @param suggestion the suggestion picked by the user to be committed to
- * the text field
*/
private void commitBestWord(CharSequence bestWord) {
KeyboardSwitcher switcher = mKeyboardSwitcher;
@@ -1924,11 +1922,6 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar
}
}
- public void promoteToUserDictionary(String word, int frequency) {
- if (mUserDictionary.isValidWord(word)) return;
- mUserDictionary.addWord(word, frequency);
- }
-
public WordComposer getCurrentWord() {
return mWord;
}