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

Commit c6af79cf authored by Cosmin Băieș's avatar Cosmin Băieș Committed by Android (Google) Code Review
Browse files

Merge "Register IME back callback in doStartInput" into main

parents 569213cb d49faacf
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -3504,6 +3504,10 @@ public class InputMethodService extends AbstractInputMethodService {
                mInlineSuggestionSessionController.notifyOnStartInputView();
                onStartInputView(mInputEditorInfo, restarting);
                startExtractingText(true);
                // Back callback is typically registered in {@link #showWindow()}, but it's possible
                // for {@link #doStartInput()} to be called without {@link #showWindow()} so we also
                // register here.
                registerDefaultOnBackInvokedCallback();
            } else if (mCandidatesVisibility == View.VISIBLE) {
                if (DEBUG) Log.v(TAG, "CALL: onStartCandidatesView");
                mCandidatesViewStarted = true;