summaryrefslogtreecommitdiff
path: root/wifi/java/src
diff options
context:
space:
mode:
author Haoran Zhang <haoranzhang@google.com> 2023-09-07 22:42:01 +0000
committer Haoran Zhang <haoranzhang@google.com> 2023-09-12 22:44:54 +0000
commit4aed12b94ca786dfc2e6bbeb5e8b527209654207 (patch)
tree016961fd895fadbf536f4cba1c189d5260beb292 /wifi/java/src
parent40ba3002c66340fe6386f65782e777e238d88e5e (diff)
[Webview-FillDialog Support] Fix autofill framework issue found when testing webView prorotype
There are two issues I found: 1. Instead of SparseArray.indexOf(i), framework should use SparseArray.keyOf(i) to get the virtual id for virtual views that Chrome passed in. 2. Framework should ignore case when checking whether view's autofill hints is in fill dialog supported hints. In the webview prototype, Chrome is passing "PASSWORD" as autofill hints Also I found it's easy to create null pointer exception when referencing AutofillHints in notifyViewReadyInner(). It's not obvious that this array could be null also. Annotated it with @Nullable to make it obvious. Bug:b/299532529 Test: atest CtsAutoFillServiceTestCases Change-Id: Ie1ed6f0fbe806826a1844d85a74767ca946e55b8
Diffstat (limited to 'wifi/java/src')
0 files changed, 0 insertions, 0 deletions