Address review comments from aosp/3482151
I didn't notice repo had failed the last upload with error 500...
This patch addresses the last outstanding comment.
Test: ConnectivityManagerTest
Change-Id: I970613a71e0b1854261e9615ff113a1d404fc1d0
diff --git a/tests/cts/net/src/android/net/cts/ConnectivityManagerTest.java b/tests/cts/net/src/android/net/cts/ConnectivityManagerTest.java
index 3828dc8..7292c5d 100644
--- a/tests/cts/net/src/android/net/cts/ConnectivityManagerTest.java
+++ b/tests/cts/net/src/android/net/cts/ConnectivityManagerTest.java
@@ -1259,11 +1259,8 @@
mCm.registerNetworkCallback(nr, pendingIntent);
try {
- mCtsNetUtils.ensureWifiConnected();
-
- // Wait for delivery of the Intent notifying of the availability of the INTERNET
- // network even if it was already connected as a state-based action when the callback
- // is registered.
+ // Wait for delivery of the Intent notifying of the availability of the
+ // INTERNET-providing network. Test setup makes sure it's already connected.
assertTrue("Did not receive expected Intent " + intent + " for INTERNET",
received.block(NETWORK_CALLBACK_TIMEOUT_MS));
} finally {