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