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

main
Jean Chalard 2013-04-22 08:13:13 +00:00 committed by Android (Google) Code Review
commit 6d25be9ac5
1 changed files with 0 additions and 1 deletions

View File

@ -141,7 +141,6 @@ public final class BinaryDictionary extends Dictionary {
mOutputTypes); mOutputTypes);
final ArrayList<SuggestedWordInfo> suggestions = CollectionUtils.newArrayList(); final ArrayList<SuggestedWordInfo> suggestions = CollectionUtils.newArrayList();
for (int j = 0; j < count; ++j) { for (int j = 0; j < count; ++j) {
if (composerSize > 0 && mOutputScores[j] < 1) break;
final int start = j * MAX_WORD_LENGTH; final int start = j * MAX_WORD_LENGTH;
int len = 0; int len = 0;
while (len < MAX_WORD_LENGTH && mOutputCodePoints[start + len] != 0) { while (len < MAX_WORD_LENGTH && mOutputCodePoints[start + len] != 0) {