diff options
author | 2011-05-27 03:26:30 -0700 | |
---|---|---|
committer | 2011-05-27 03:26:30 -0700 | |
commit | f4a05624ee2da64ad811a01e64885e928e77154d (patch) | |
tree | 66d149deaa6285d37c91b1f6218f23a63fccead7 /java/src/com/android/inputmethod/latin/LatinIME.java | |
parent | 375f45cd199b7267adda16a243ada5a38d17a711 (diff) | |
parent | 8ef4dd9af86d575e6b3cce76ccd141728308aada (diff) | |
download | latinime-f4a05624ee2da64ad811a01e64885e928e77154d.tar.gz latinime-f4a05624ee2da64ad811a01e64885e928e77154d.tar.xz latinime-f4a05624ee2da64ad811a01e64885e928e77154d.zip |
Merge "Stop promoting auto dictionary words to the user dict."
Diffstat (limited to 'java/src/com/android/inputmethod/latin/LatinIME.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/LatinIME.java | 7 |
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; } |