getUicc{Card, Slot}sInfo should work with carrier privileges
Both the interfaces ask either READ_PRIVILEGED_PHONE_STATE
or carrier privileges. ag/16665093 introduced the bug that
READ_PRIVILEGED_PHONE_STATE was enforced for the interfaces.
Method checkCarrierPrivilegesForPackageAnyPhoneWithPermission
is introduced to allow the above interfaces to query Uicc info
with carrier privileges only.
Bug: 220355025
Test: atest android.telephony.cts.TelephonyManagerTest
Change-Id: Ia774121e020e44028ee65545eab9c1181ed8a4c9
1 file changed