am 6d25be9a: Merge "Don\'t kill suggestions with native score < 1"

* commit '6d25be9ac5e30c956fb7ee3ad43fc67ccbfcb92b':
  Don't kill suggestions with native score < 1
main
Jean Chalard 2013-04-22 01:14:58 -07:00 committed by Android Git Automerger
commit 72e8d94288
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) {