mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Clear suggestion strip when the suggestion starts
bug: 3488704 bug: 3480132 Change-Id: Ie895d2ad1b58dc65fe16d65baa6fccafd4a142bb
This commit is contained in:
parent
db241a1038
commit
7e99a28dfc
@ -1290,6 +1290,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
|
||||
mComposing.setLength(0);
|
||||
saveWordInHistory(mBestWord);
|
||||
mWord.reset();
|
||||
clearSuggestions();
|
||||
}
|
||||
}
|
||||
KeyboardSwitcher switcher = mKeyboardSwitcher;
|
||||
|
@ -297,7 +297,7 @@ public class Suggest implements Dictionary.WordCallback {
|
||||
}
|
||||
if (normalizedScore >= mAutoCorrectionThreshold) {
|
||||
if (DBG) {
|
||||
Log.d(TAG, "Auto corrected by S-threthhold.");
|
||||
Log.d(TAG, "Auto corrected by S-threshold.");
|
||||
}
|
||||
mHasAutoCorrection = true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user