parent
9d2e059f83
commit
9c76844da2
|
@ -197,10 +197,11 @@ public class Suggest implements Dictionary.WordCallback {
|
||||||
if (mOriginalWord != null) {
|
if (mOriginalWord != null) {
|
||||||
mOriginalWord = mOriginalWord.toString();
|
mOriginalWord = mOriginalWord.toString();
|
||||||
mLowerOriginalWord = mOriginalWord.toString().toLowerCase();
|
mLowerOriginalWord = mOriginalWord.toString().toLowerCase();
|
||||||
|
LatinImeLogger.onAddSuggestedWord(mOriginalWord.toString(), Suggest.DIC_USER_TYPED);
|
||||||
} else {
|
} else {
|
||||||
mLowerOriginalWord = "";
|
mLowerOriginalWord = "";
|
||||||
}
|
}
|
||||||
LatinImeLogger.onAddSuggestedWord(mOriginalWord.toString(), Suggest.DIC_USER_TYPED);
|
|
||||||
// Search the dictionary only if there are at least 2 characters
|
// Search the dictionary only if there are at least 2 characters
|
||||||
if (wordComposer.size() > 1) {
|
if (wordComposer.size() > 1) {
|
||||||
if (mUserDictionary != null || mContactsDictionary != null) {
|
if (mUserDictionary != null || mContactsDictionary != null) {
|
||||||
|
|
Loading…
Reference in New Issue