mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
am 92190d9a
: Merge "Show the keyboard earlier when rotating."
* commit '92190d9a756b7bad95648075828b23e61340358d': Show the keyboard earlier when rotating.
This commit is contained in:
commit
17bec5cb1c
@ -926,10 +926,11 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
|
||||
suggest.setAutoCorrectionThreshold(currentSettingsValues.mAutoCorrectionThreshold);
|
||||
}
|
||||
|
||||
if (canReachInputConnection) {
|
||||
// If we can't reach the input connection, we don't want to call loadKeyboard yet.
|
||||
// It will be done in #retryResetCaches.
|
||||
switcher.loadKeyboard(editorInfo, currentSettingsValues);
|
||||
switcher.loadKeyboard(editorInfo, currentSettingsValues);
|
||||
if (!canReachInputConnection) {
|
||||
// If we can't reach the input connection, we will call loadKeyboard again later,
|
||||
// so we need to save its state now. The call will be done in #retryResetCaches.
|
||||
switcher.saveKeyboardState();
|
||||
}
|
||||
} else if (restarting) {
|
||||
// TODO: Come up with a more comprehensive way to reset the keyboard layout when
|
||||
|
Loading…
Reference in New Issue
Block a user