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

Skip to content
Commit cd2a3a8d authored by Daniel's avatar Daniel
Browse files

Dedupe credential options

There is inconsistency in how credential providers process credential
options and returns credential responses. Some providers return entries
for each option while some providers return entries for deduped options.
This results in inconsitent output to users.

To solve this, dedupe credential options in CredentialAutofillService,
and track which autofill ids requested which credential option. Then
make a single credential request with deduped options and when it
receives the entries, duplicate them for each autofill id that requested
the credential option.

Test: atest CtsAutoFillServiceTestCases:android.autofillservice.cts.inline.InlineLoginMixedCredentialActivityTest
Bug: 324126795
Change-Id: Ie236676a756a0bbabca37965a72cd65e25b2065a
parent 0f6369d0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment