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

Commit 40f5ba93 authored by Daniel's avatar Daniel
Browse files

Properly add clientState to secondary fill request

Wasn't properly setting the clientState to the fill request for
secondary provider. Fixing the issue.

Bug: 321094178
Test: atest CtsAutoFillServiceTestCases:android.autofillservice.cts.inline.InlineLoginMixedCredentialActivityTest
Change-Id: Ifca44e40faac6a84e10be2659612508b1331e797
parent 4881667c
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -108,9 +108,9 @@ final class SecondaryProviderHandler implements RemoteFillService.FillServiceCal
        mLastFlag = flag;
        if (mRemoteFillService != null && mRemoteFillService.isCredentialAutofillService()) {
            Slog.v(TAG, "About to call CredAutofill service as secondary provider");
            addSessionIdAndRequestIdToClientState(pendingFillRequest,
            FillRequest request = addSessionIdAndRequestIdToClientState(pendingFillRequest,
                    pendingInlineSuggestionsRequest, id);
            mRemoteFillService.onFillCredentialRequest(pendingFillRequest, client);
            mRemoteFillService.onFillCredentialRequest(request, client);
        } else {
            mRemoteFillService.onFillRequest(pendingFillRequest);
        }