Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 17bec5cb authored by Jean Chalard's avatar Jean Chalard Committed by Android Git Automerger
Browse files

am 92190d9a: Merge "Show the keyboard earlier when rotating."

* commit '92190d9a':
  Show the keyboard earlier when rotating.
parents 67aa1a93 92190d9a
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
@@ -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);
            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