aboutsummaryrefslogtreecommitdiffstats
path: root/java/src
diff options
context:
space:
mode:
authorKeisuke Kuroyanagi <ksk@google.com>2013-10-18 20:13:40 +0900
committerKeisuke Kuroyanagi <ksk@google.com>2013-10-18 20:13:40 +0900
commit029d9eeb385dccdea0f6a76987b857f2b8f7d815 (patch)
treeaa0821debae537119488a4b93e14aa4482d8eeb6 /java/src
parent2e7f360a04f2a840fa083dde299d10e213de7bbb (diff)
downloadlatinime-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.java9
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,