Merge "Don't kill suggestions with native score < 1"

This commit is contained in:
Jean Chalard 2013-04-22 08:13:13 +00:00 committed by Android (Google) Code Review
commit 6d25be9ac5

View file

@ -141,7 +141,6 @@ public final class BinaryDictionary extends Dictionary {
mOutputTypes);
final ArrayList<SuggestedWordInfo> 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) {