diff options
author | Feng Cao <fengcao@google.com> | 2020-03-03 13:25:40 -0800 |
---|---|---|
committer | Feng Cao <fengcao@google.com> | 2020-03-03 14:31:29 -0800 |
commit | 8aee9bc74a1ca2485fe5ce006dfa147bb3dff012 (patch) | |
tree | 01fd3d4be3ab92c176e308ad335f35c2c9f5468c /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | c9611acb621254df51c3771033fd706a58d7e282 (diff) |
Fix augmented autofill to not send multiple request on the same field
* Don't send multiple request when focused view doesn't change
* The difference is *when to return*. In the old code, we are returning
only when all four conditions are met, otherwise we will go to the
next lines requestNewFillResponseOnViewEnteredIfNecessaryLocked()
which will indeed trigger a new augmented autofill request. In the
new code, we will return if the three conditions are met, or if the
other three conditions are met...
Test: manual verification
Test: atest android.autofillservice.cts.inline
Test: atest android.autofillservice.cts.augmented
Bug: 145949573
Change-Id: I9ff3873e3aec8c1366d4aa16c9ef7662cfde45e2
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions