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
Loading
Please register or sign in to comment