Files
frameworks_base/services/tests/PackageManagerServiceTests
Winson Chiu 5697a4c37e Fix app links verification resetting user state
In cases where domain verification comes in and does not take over
verification from another app (the owning app has link handling
disabled or the domain was already previous verified), the user
selection for that domain should not be reset.

This preserves user approved apps for links which the user has
disabled the official verified app when that verified app update,
as this event kicks off a verification through StatementService,
which may have caused the reset with the buggy code.

Bug: 221059351

Test: atest DomainVerificationPackageTest
Test: atest DomainVerificationIntentStandaloneTests
Test: manual, reset verification using shell set-app-links
Test: manual, reset verification using verified app update

Change-Id: Ia8aa70be485b2f94920fd97275fd16178895ef33
2022-06-07 21:38:56 +00:00
..
…
…