mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Merge "Don't allow cancelling manual pick."
This commit is contained in:
commit
e42ec2a6ac
@ -1848,6 +1848,8 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
|
|||||||
mExpectingUpdateSelection = true;
|
mExpectingUpdateSelection = true;
|
||||||
commitChosenWord(suggestion, LastComposedWord.COMMIT_TYPE_MANUAL_PICK,
|
commitChosenWord(suggestion, LastComposedWord.COMMIT_TYPE_MANUAL_PICK,
|
||||||
LastComposedWord.NOT_A_SEPARATOR);
|
LastComposedWord.NOT_A_SEPARATOR);
|
||||||
|
// Don't allow cancellation of manual pick
|
||||||
|
mLastComposedWord.deactivate();
|
||||||
// Add the word to the user history dictionary
|
// Add the word to the user history dictionary
|
||||||
addToUserHistoryDictionary(suggestion);
|
addToUserHistoryDictionary(suggestion);
|
||||||
mSpaceState = SPACE_STATE_PHANTOM;
|
mSpaceState = SPACE_STATE_PHANTOM;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user