Update CTS tests to reflect ConnectivityManager API changes.

Partial cherry pick of commit 282976ec493ce63d84dd3b94a041c00825df7e82
for resolving api changes in ConnectivityManager.

Bug: 36370941
Test: marlin-eng builds
Merged-In: Icb127e468698711669ecc2c2002ff8add56700e0
Change-Id: I12944690c81e910d39c84727454c76fd146c3f68

(cherry pick from commit 282976ec493ce63d84dd3b94a041c00825df7e82)
diff --git a/tests/tests/net/src/android/net/cts/ConnectivityManagerTest.java b/tests/tests/net/src/android/net/cts/ConnectivityManagerTest.java
index 24871ca..b619974 100644
--- a/tests/tests/net/src/android/net/cts/ConnectivityManagerTest.java
+++ b/tests/tests/net/src/android/net/cts/ConnectivityManagerTest.java
@@ -419,7 +419,7 @@
         final TestNetworkCallback callback = new TestNetworkCallback();
         mCm.requestNetwork(new NetworkRequest.Builder()
                 .addTransportType(TRANSPORT_WIFI)
-                .build(), 100, callback);
+                .build(), callback, 100);
 
         try {
             // Wait to get callback for unavailability of requested network