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 Change-Id: Ia57a2d8aca5fff8a0041008e54e3b30a51801472
Loading
Please register or sign in to comment