Remove setCdmaSubscription API.
Bug: 17255752
Change-Id: Ibcc2abe001343c8e3c1bf5d633f82fcc91eebe9f
diff --git a/tests/tests/telephony/src/android/telephony/cts/SimRestrictedApisTest.java b/tests/tests/telephony/src/android/telephony/cts/SimRestrictedApisTest.java
index 1123cb0..acbeae3 100644
--- a/tests/tests/telephony/src/android/telephony/cts/SimRestrictedApisTest.java
+++ b/tests/tests/telephony/src/android/telephony/cts/SimRestrictedApisTest.java
@@ -226,18 +226,6 @@
}
/**
- * Tests the TelephonyManager.setCdmaSubscription() API. This makes a call to
- * setCdmaSubscription() API and expects a SecurityException since the test apk
- * is not signed by certificate on the SIM.
- */
- public void testSetCdmaSubscription() {
- try {
- TelephonyManager.getDefault().setCdmaSubscription(0);
- fail("Expected SecurityException. App doesn't have carrier privileges.");
- } catch (SecurityException expected) {}
- }
-
- /**
* Tests that the test apk doesn't have carrier previliges.
*/
public void testHasCarrierPrivileges() {