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

Commit 38e2eb69 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "When starting new session, make autofill manager service to not clear...

Merge "When starting new session, make autofill manager service to not clear inline suggestions" into rvc-dev
parents 843f071d 5c2f11d4
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -75,9 +75,7 @@ final class AutofillInlineSessionController {
            @NonNull Consumer<InlineSuggestionsRequest> requestConsumer, @NonNull Bundle uiExtras) {
        // TODO(b/151123764): rename the method to better reflect what it does.
        if (mSession != null) {
            // Send an empty response to IME and destroy the existing session.
            mSession.onInlineSuggestionsResponseLocked(
                    InlineFillUi.emptyUi(mSession.getAutofillIdLocked()));
            // Destroy the existing session.
            mSession.destroySessionLocked();
            mInlineFillUi = null;
        }