summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorFelipe Leme <felipeal@google.com>2018-03-23 13:54:22 -0700
committerFelipe Leme <felipeal@google.com>2018-03-26 11:55:31 -0700
commit0c8ce322a3107933d16082e00c77fbe501dc3c07 (patch)
tree987445c8ecb1b6c74e78214c78aac2f4471857f8 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent8d114ef8ae7d3671ad12c2f6f1b3570d81b37c5f (diff)
Integrate autofill session lifecycle with URL bar changes when on compat mode.
The contents of a browser URL bar is typically changed for 2 reasons: 1.User entered a new URL. 2.Form was submitted and the URL changed. On scenario #1, the current session should be canceled, while on #2 it should be committed. Scenario #2 is already handled when the service sets a SaveInfo, so this CL handles the other cases: 1.Focus on URL bar is ignored so it does not trigger a new partition. 2.If URL bar changed and service didn't set a SaveInfo, the session is canceled. Fixes: 76027553 Test: manual test with Chrome Test: new tests on VirtualContainerActivityCompatModeTest: testFocusOnUrlBarIsIgnored() testUrlBarChangeIgnoredWhenServiceCanSave() testUrlBarChangeCancelsSessionWhenServiceCannotSave testUrlBarChangeCancelsSessionWhenServiceReturnsNullResponse Test: atest CtsAutoFillServiceTestCases Change-Id: I19d2aa4c8b25def0d5eca1c59cfdc2ffe33dd388
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions