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
…
Description
No description provided
Languages
Java
77.3%
Kotlin
9.2%
PowerBuilder
6.6%
C++
5.5%
AIDL
1%