Introduce CarrierPrivilegesCallback to replace CarrierPrivilegesListener
Add new interface in CarrierPrivilegesCallback to notify the registrants that carrier service for current user has changed. Reshape the parameters of onCarrierPrivilegesChanged callback with both Set instead of List/Array. CarrierPrivilegesListener is deprecated. Once all clients have migrated to CarrierPrivilegesCallback, it will be throughly cleaned up. Bug: 216549778 Test: atest CarrierPrivilegesTrackerTest CarrierServiceTest Test: atest WifiCarrierInfoManagerTest TelephonyRegistryManagerTest Test: atest TelephonySubscriptionTrackerTest Change-Id: I18e443d91f1db951f1461511821c0f5f673da3a3 Merged-In: I38d03e3921112c313f3c1d204ed04f6e1756ff39 (cherry picked from commit b66e3e3a)
Loading
Please register or sign in to comment