Fix a bug where a log would mysteriously not work
Change-Id: I5ca77ed65e95a6d357215c0e730238fb463986bbmain
parent
22657dcba0
commit
a3f5f51ec4
|
@ -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,
|
|
||||||
dataTypeForLog);
|
|
||||||
}
|
}
|
||||||
|
LatinImeLogger.onAddSuggestedWord(transformedWordInfo.mWord.toString(), dicTypeId,
|
||||||
|
dataTypeForLog);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue