summaryrefslogtreecommitdiff
path: root/docs/html/sdk/api_diff/24
diff options
context:
space:
mode:
authorJoanne Chung <joannechung@google.com>2020-06-02 15:36:46 +0800
committerJoanne Chung <joannechung@google.com>2020-06-03 01:06:24 +0800
commitfbc89efee39e5bcd64a4feb21d510435c3228eb2 (patch)
tree146d91981e4679b64a8090960ddde374a9bc98bf /docs/html/sdk/api_diff/24
parent829ac140f8f5914d5cff3ab36a1b86eb59ead2c6 (diff)
Fix AugmentedAutofillService onFillRequest() wrong focused AutofillId for WebView
When AutofillManagerService try to trigger AugmentedAutofill, it uses AutofillId.withoutSession() to get the AutollId without session. It will return invalid "parentId:NO_ID" if the virtual AutofillId is created with FLAG_IS_VIRTUAL_INT. The virtual AutofillId flag should be FLAG_IS_VIRTUAL_INT or FLAG_IS_VIRTUAL_LONG, we should get mVirtualIntId for FLAG_IS_VIRTUAL_INT or mVirtualLongId for FLAG_IS_VIRTUAL_LONG. Bug: 156408900 Test: atest android.autofillservice.cts.augmented Test: atest android.view.autofill.AutofillIdTest#\ testVirtual_Long_withoutSession Test: atest android.view.autofill.AutofillIdTest#\ testVirtual_Int_withoutSession Test: Manual. Write a simple cts test for webview and check the focused AutofillId is correct while switching between the field. Change-Id: I7ebb4d7cfb6d6f383724b798dae69269ae3a27be
Diffstat (limited to 'docs/html/sdk/api_diff/24')
0 files changed, 0 insertions, 0 deletions