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. This CL only cherry-picks the CarrierPrivilegesCallback interface and provides stub implementation to remove the dependency of NetworkStack modul which is aosp-first. The implementation will be cherry-pick later. Bug: 216549778 Test: make Merged-In: I195a99ec6508c7fe3398908bfca632d8446ab29c Change-Id: I195a99ec6508c7fe3398908bfca632d8446ab29c (cherry picked from commit b66e3e3a)
Loading
Please register or sign in to comment