mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Fix a bug where a log would mysteriously not work
Change-Id: I5ca77ed65e95a6d357215c0e730238fb463986bb
This commit is contained in:
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…
x
Reference in New Issue
Block a user