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

Commit 1e8273e7 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Clear inline suggestions before onStartInput instead of before...

Merge "Clear inline suggestions before onStartInput instead of before onFinishInput" into rvc-dev am: 4619e6e1 am: 419a4fc1

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11994808

Change-Id: I5469e3cc927c3d3ce84e1009f2ad74f946dd584a
parents 85df70f0 419a4fc1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -134,6 +134,7 @@ class InlineSuggestionSessionController {
        mImeClientFieldId = imeFieldId;

        if (mSession != null) {
            mSession.consumeInlineSuggestionsResponse(InlineSuggestionSession.EMPTY_RESPONSE);
            // Initiates the callback to Autofill if there is a pending matching session.
            // Otherwise updates the session with the Ime status.
            if (!mSession.isCallbackInvoked() && match(mSession.getRequestInfo())) {
@@ -213,7 +214,6 @@ class InlineSuggestionSessionController {
        mImeInputViewStarted = false;
        mImeInputStarted = false;
        if (mSession != null && mSession.shouldSendImeStatus()) {
            mSession.consumeInlineSuggestionsResponse(InlineSuggestionSession.EMPTY_RESPONSE);
            try {
                mSession.getRequestCallback().onInputMethodFinishInput();
            } catch (RemoteException e) {