Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 8f71c728 authored by Haoran Zhang's avatar Haoran Zhang
Browse files

[Autofill Framework] Add a cache to store the last non-empty value when field is cleared

Change ag/25316443 fixes the issue where some apps clear the form
destroying the activity. However a side effect directly ignoring setting
current value is filtering behavior is also affected. See
go/ignore_view_state_reset_launch_analysis for detail.

This change introduce a cache to store the last non-empty text
value before a field is cleared to decouple the filtering behavior and
saving behavior.

CTS run passes except a known failure:
https://android-build.corp.google.com/abtd/run/L40200030003674139/

Bug:b/339448682
Test: atest CtsAutoFillServiceTestCases && local validation

Change-Id: I04a01fdd790edaec11f499cdad0f9c77973d6107
parent 09273159
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment