Commit 3e5ade9d authored by yinxu's avatar yinxu
Browse files

[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
parent d69f4476
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment