mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
* commit 'ace3f3c5d56f5b4a58e8dc400fec1bb8c7b17a63': Don't do recorrection when suggestions are off.
This commit is contained in:
commit
019c38060d
@ -929,8 +929,11 @@ public final class LatinIME extends InputMethodService implements KeyboardAction
|
|||||||
resetEntireInputState(newSelStart);
|
resetEntireInputState(newSelStart);
|
||||||
}
|
}
|
||||||
|
|
||||||
// We moved the cursor. If we are touching a word, we need to resume suggestion.
|
// We moved the cursor. If we are touching a word, we need to resume suggestion,
|
||||||
mHandler.postResumeSuggestions();
|
// unless suggestions are off.
|
||||||
|
if (isSuggestionsStripVisible()) {
|
||||||
|
mHandler.postResumeSuggestions();
|
||||||
|
}
|
||||||
// Reset the last recapitalization.
|
// Reset the last recapitalization.
|
||||||
mRecapitalizeStatus.deactivate();
|
mRecapitalizeStatus.deactivate();
|
||||||
mKeyboardSwitcher.updateShiftState();
|
mKeyboardSwitcher.updateShiftState();
|
||||||
@ -2108,6 +2111,8 @@ public final class LatinIME extends InputMethodService implements KeyboardAction
|
|||||||
return false;
|
return false;
|
||||||
if (mSuggestionStripView.isShowingAddToDictionaryHint())
|
if (mSuggestionStripView.isShowingAddToDictionaryHint())
|
||||||
return true;
|
return true;
|
||||||
|
if (null == mSettings.getCurrent())
|
||||||
|
return false;
|
||||||
if (!mSettings.getCurrent().isSuggestionStripVisibleInOrientation(mDisplayOrientation))
|
if (!mSettings.getCurrent().isSuggestionStripVisibleInOrientation(mDisplayOrientation))
|
||||||
return false;
|
return false;
|
||||||
if (mSettings.getCurrent().isApplicationSpecifiedCompletionsOn())
|
if (mSettings.getCurrent().isApplicationSpecifiedCompletionsOn())
|
||||||
|
Loading…
Reference in New Issue
Block a user