Fix a bug where a log would mysteriously not work

Change-Id: I5ca77ed65e95a6d357215c0e730238fb463986bb
main
Jean Chalard 2012-06-26 20:36:51 +09:00
parent 22657dcba0
commit a3f5f51ec4
1 changed files with 2 additions and 3 deletions

View File

@ -432,10 +432,9 @@ public class Suggest {
suggestions.add(pos, transformedWordInfo); suggestions.add(pos, transformedWordInfo);
if (suggestions.size() > prefMaxSuggestions) { if (suggestions.size() > prefMaxSuggestions) {
suggestions.remove(prefMaxSuggestions); suggestions.remove(prefMaxSuggestions);
} else { }
LatinImeLogger.onAddSuggestedWord(transformedWordInfo.mWord.toString(), dicTypeId, LatinImeLogger.onAddSuggestedWord(transformedWordInfo.mWord.toString(), dicTypeId,
dataTypeForLog); dataTypeForLog);
}
return true; return true;
} }