aboutsummaryrefslogtreecommitdiffstats
path: root/java/src
diff options
context:
space:
mode:
authorKeisuke Kuroyanagi <ksk@google.com>2013-10-18 19:53:57 +0900
committerThe Android Automerger <android-build@google.com>2013-10-22 05:23:48 -0700
commit6bc5acaa793e0311fcfa4a0f12c49ced6d792729 (patch)
tree69fbe0b1f7ce2e77aebd06b112d1af19dc247013 /java/src
parent7da2295328a16d061a94c46c4cab21e46370ab41 (diff)
downloadlatinime-6bc5acaa793e0311fcfa4a0f12c49ced6d792729.tar.gz
latinime-6bc5acaa793e0311fcfa4a0f12c49ced6d792729.tar.xz
latinime-6bc5acaa793e0311fcfa4a0f12c49ced6d792729.zip
Fix: Suggested words from user history are invalid.
- 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,