Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 34666400 authored by Rambo Wang's avatar Rambo Wang
Browse files

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)
parent caecb9fb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment