Rambo Wang 73e1555fea 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
Merged-In: I58dbbc4b7b135781bc5f4b5bc35b29075fc6a619
(cherry picked from commit 374f0045baa36ec412003e9397b9a214c0684de9)
2022-03-22 21:18:00 -07:00
..