summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorJoanne Chung <joannechung@google.com>2020-02-24 23:52:42 +0800
committerJoanne Chung <joannechung@google.com>2020-02-24 15:58:05 +0000
commitb0b721bbe01bc0485c83451ff4620bda57017dfc (patch)
treec02d4eff359f4edfbdab5900af599822686f1781 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent14ebab3b195446eabadc8eafe30005c5cf5bb4d8 (diff)
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions