Skip to content
Commit 4b2cdfec authored by Rambo Wang's avatar Rambo Wang
Browse files

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)
parent 012ace16
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment