diff options
author | 2014-05-26 13:53:19 +0000 | |
---|---|---|
committer | 2014-05-26 13:53:19 +0000 | |
commit | 0088d1f6683fce0175266b90c3ec04f15ad8daeb (patch) | |
tree | a95613d6030b1a54458307e074f872f71bf87b97 /java/src/com/android/inputmethod/compat/SuggestionSpanUtils.java | |
parent | 67e02a6aaa2b693f92f0f3f7948c3f8dadfc17e6 (diff) | |
parent | a6278eb9c1fbe102259cba392b1459f712ca46e7 (diff) | |
download | latinime-0088d1f6683fce0175266b90c3ec04f15ad8daeb.tar.gz latinime-0088d1f6683fce0175266b90c3ec04f15ad8daeb.tar.xz latinime-0088d1f6683fce0175266b90c3ec04f15ad8daeb.zip |
Merge "Use whether it's exact match to detect distracters."
Diffstat (limited to 'java/src/com/android/inputmethod/compat/SuggestionSpanUtils.java')
-rw-r--r-- | java/src/com/android/inputmethod/compat/SuggestionSpanUtils.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/src/com/android/inputmethod/compat/SuggestionSpanUtils.java b/java/src/com/android/inputmethod/compat/SuggestionSpanUtils.java index b92290600..4d51821f2 100644 --- a/java/src/com/android/inputmethod/compat/SuggestionSpanUtils.java +++ b/java/src/com/android/inputmethod/compat/SuggestionSpanUtils.java @@ -78,7 +78,7 @@ public final class SuggestionSpanUtils { break; } final SuggestedWordInfo info = suggestedWords.getInfo(i); - if (info.mKind == SuggestedWordInfo.KIND_PREDICTION) { + if (info.isKindOf(SuggestedWordInfo.KIND_PREDICTION)) { continue; } final String word = suggestedWords.getWord(i); |