diff options
author | Sarah Chin <sarahchin@google.com> | 2021-02-23 12:21:24 -0800 |
---|---|---|
committer | Sarah Chin <sarahchin@google.com> | 2021-04-02 11:49:59 -0700 |
commit | d93940f617deaaaf53f4c51f6fd0f2f68b8a3620 (patch) | |
tree | 961c0e02b274c8d0454f7b5bc7d03f4541e36069 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 20f4b99166ab166ad9f81859ca8ca0550a6cf784 (diff) |
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
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions