AI 145980: am: CL 145881 Adding on to CL 145383, unhiding some additional methods and constants
that ought to be exposed. Hid and deprecated the single-arg public
constructor for NetworkInfo, and modified a CTS test that was testing it.
Ran the android.net test package to make sure it still works.
Original author: ers
Merged from: //branches/cupcake/...
Automated import of CL 145980
diff --git a/tests/cts/net/src/android/net/cts/NetworkInfoTest.java b/tests/cts/net/src/android/net/cts/NetworkInfoTest.java
index 62a5f3f..ea1e047 100644
--- a/tests/cts/net/src/android/net/cts/NetworkInfoTest.java
+++ b/tests/cts/net/src/android/net/cts/NetworkInfoTest.java
@@ -35,16 +35,6 @@
public static final String MOBILE_TYPE_NAME = "MOBILE";
public static final String WIFI_TYPE_NAME = "WIFI";
- @TestTargetNew(
- level = TestLevel.COMPLETE,
- notes = "Test constructor(s) of NetworkInfo.",
- method = "NetworkInfo",
- args = {int.class}
- )
- public void testConstructor() {
- new NetworkInfo(ConnectivityManager.TYPE_MOBILE);
- }
-
@TestTargets({
@TestTargetNew(
level = TestLevel.COMPLETE,