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

Skip to content
Commit 25f8df2d authored by Cody Kesting's avatar Cody Kesting
Browse files

Define CarrierPrivilegesTracker for tracking CarrierPrivileged UIDs.

CarrierPrivilegesTracker is defined for tracking Carrier Privileged UIDs
for a specific Phone. CarrierPrivilegesTracker will monitor for
CarrierConfig changes, SIM state changes, and Package
installs/uninstalls - each of which can impact which UIDs should receive
Carrier Privileges.

Telephony currently has no centralized source for tracking Carrier
Privileges. Carrier Privileges can be queried via
TelephonyManager#hasCarrierPrivileges and by checking the Carrier
Configs for included certs. With CarrierPrivilegesTracker, internal
Telephony apps will be able to enumerate all Carrier Privileged UIDs for
a specific phone.

Bug: 147391402
Test: Tested on crosshatch build
Change-Id: I903805d6085dca13cfc05ecc01a8c439061bcc60
parent 52300cde
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