Update TelephonySubscriptionTracker to use new CPCallback interface
CarrierPrivilegesListener is renamed as CarrierPrivilegesCallback. The previous callback onCarrierPrivilegesChanged is also reshaped to provide Set of package names and UIDs. This is the minimum change to remove dependency on CPListener. A follow-up CL can simplify the logic here with the new onCarrierServiceChanged API if TelephonySubscriptionTracker only cares about carrier service. Bug: 216549778 Test: atest TelephonySubscriptionTrackerTest Change-Id: I58dbbc4b7b135781bc5f4b5bc35b29075fc6a619
Loading
Please register or sign in to comment