mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Don't resume suggestions if suggestions are not requested.
Bug: 12832614 Change-Id: I6a9b6d128d7e0324ba59a43cf153a3b54e1d35bf
This commit is contained in:
parent
4e6f72cb80
commit
9068fd4e77
@ -1142,6 +1142,8 @@ public final class InputLogic {
|
||||
// Recorrection is not supported in languages without spaces because we don't know
|
||||
// how to segment them yet.
|
||||
if (!settingsValues.mSpacingAndPunctuations.mCurrentLanguageHasSpaces) return;
|
||||
// If no suggestions are requested, don't try restarting suggestions.
|
||||
if (!settingsValues.isSuggestionsRequested()) return;
|
||||
// If the cursor is not touching a word, or if there is a selection, return right away.
|
||||
if (mConnection.hasSelection()) return;
|
||||
// If we don't know the cursor location, return.
|
||||
|
Loading…
Reference in New Issue
Block a user