Skip to content
Commit d93940f6 authored by Sarah Chin's avatar Sarah Chin
Browse files

Update carrier privilege check in enforceSubscriptionPlanAccess

Remove isEmbedded() check, since this can be called on both PSIM and
ESIM. Replace SM#canManageSubscription with TM#hasCarrierPrivileges,
since it is a superset of the checks done in SM#canManageSubscription
and applies to both PSIMs as well as ESIMS. Updated the documentation
for the two APIs to clarify the differences.

Test: atest CtsTelephonyTestCases (SubscriptionManagerTest)
Fix: 180451446
Change-Id: Icb4e2c619dacaea9e74cedea31865ec1eb689dce
Merged-In: Icb4e2c619dacaea9e74cedea31865ec1eb689dce
parent 20f4b991
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment