diff options
author | 2013-10-18 20:13:40 +0900 | |
---|---|---|
committer | 2013-10-18 20:13:40 +0900 | |
commit | 029d9eeb385dccdea0f6a76987b857f2b8f7d815 (patch) | |
tree | aa0821debae537119488a4b93e14aa4482d8eeb6 /java/src | |
parent | 2e7f360a04f2a840fa083dde299d10e213de7bbb (diff) | |
download | latinime-029d9eeb385dccdea0f6a76987b857f2b8f7d815.tar.gz latinime-029d9eeb385dccdea0f6a76987b857f2b8f7d815.tar.xz latinime-029d9eeb385dccdea0f6a76987b857f2b8f7d815.zip |
Fix: Suggested words from user history are invalid. DO NOT MERGE.
- Suggestions form user history can contain invalid words.
- isValidWord always returns false.
Bug: 11139426
Change-Id: I6075b275603332ddb00f4a9284afcaa82d824270
Diffstat (limited to 'java/src')
-rw-r--r-- | java/src/com/android/inputmethod/latin/personalization/DecayingExpandableBinaryDictionaryBase.java | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/java/src/com/android/inputmethod/latin/personalization/DecayingExpandableBinaryDictionaryBase.java b/java/src/com/android/inputmethod/latin/personalization/DecayingExpandableBinaryDictionaryBase.java index a1e36006b..1de15a333 100644 --- a/java/src/com/android/inputmethod/latin/personalization/DecayingExpandableBinaryDictionaryBase.java +++ b/java/src/com/android/inputmethod/latin/personalization/DecayingExpandableBinaryDictionaryBase.java @@ -114,15 +114,6 @@ public abstract class DecayingExpandableBinaryDictionaryBase extends ExpandableB } /** - * Return whether the passed charsequence is in the dictionary. - */ - @Override - public boolean isValidWord(final String word) { - // Words included only in the user history should be treated as not in dictionary words. - return false; - } - - /** * Pair will be added to the decaying dictionary. * * The first word may be null. That means we don't know the context, in other words, |