Refresh carrier service state when carrier app is en/disabled
CarrierPrivilegesTracker will monitor package en/disabling and update the carrier service accordingly. This will remove the burden from downstream components who can reliably get the carrier service change through CarrierPrivilegesCallback. When carrier package is disabled by user or when in rare case when we receive package changed but package does not exist (e.g. a race occurred with package removed), treat it as the same as package has been removed by cleaning up the cache. Bug: 200277555 Test: atest CarrierPrivilegesTrackerTest Test: atest android.appsecurity.cts.PkgInstallSignatureVerificationTest Merged-In: Ia57a2d8aca5fff8a0041008e54e3b30a51801472 Change-Id: Ia57a2d8aca5fff8a0041008e54e3b30a51801472 (cherry picked from commit 31ddd73d)
Loading
Please register or sign in to comment