Loading
Fix wrong parameter fieldIndex caused IndexOutOfBoundsException
The inline authentication change ag/10235929 changes the parameter of createInlineSuggestion from fieldIndex to datasetIndex. However, the passed parameter forget to change to datasetIndex. It is possible to trigger IndexOutOfBoundsException when we have multiple fields but only one dataset. Bug: 149891961 Test: atest android.autofillservice.cts.inline.InlineAuthenticationTest Test: Manual test by local sample Change-Id: Iec074b14f2aa3fdb7de918ad684192921b9c5d65