From f0e579a1715e93708923273a84a97d61dc84031b Mon Sep 17 00:00:00 2001 From: Jean Chalard Date: Mon, 22 Apr 2013 14:21:43 +0900 Subject: [PATCH] Don't kill suggestions with native score < 1 Change-Id: I954856b7fec0b91e19a467f2a87978d49caa639d --- java/src/com/android/inputmethod/latin/BinaryDictionary.java | 1 - 1 file changed, 1 deletion(-) diff --git a/java/src/com/android/inputmethod/latin/BinaryDictionary.java b/java/src/com/android/inputmethod/latin/BinaryDictionary.java index 18e712212..dbc2b9082 100644 --- a/java/src/com/android/inputmethod/latin/BinaryDictionary.java +++ b/java/src/com/android/inputmethod/latin/BinaryDictionary.java @@ -141,7 +141,6 @@ public final class BinaryDictionary extends Dictionary { mOutputTypes); final ArrayList suggestions = CollectionUtils.newArrayList(); for (int j = 0; j < count; ++j) { - if (composerSize > 0 && mOutputScores[j] < 1) break; final int start = j * MAX_WORD_LENGTH; int len = 0; while (len < MAX_WORD_LENGTH && mOutputCodePoints[start + len] != 0) {