[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 Change-Id: I4077e96af3f9502310ce69a0df1506676773d24b
Loading
Please sign in to comment