[RESTRICT AUTOMERGE] Use mTelephonyManager to test the testHasCarrierPrivileges()
The TelephonyManager instance returned by TelephonyManager.getDefault() has no valid subId, and will cause the testHasCarrierPrivileges() to pass with UICC SIM card. Bug: 123239506 Test: run cts -m CtsTelephonyTestCases -t android.telephony.cts.SimRestrictedApisTest Merged-in: I4077e96af3f9502310ce69a0df1506676773d24b Change-Id: I4077e96af3f9502310ce69a0df1506676773d24b (cherry picked from commit 3e5ade9d)
Loading
Please sign in to comment