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
This commit is contained in:
Chalard Jean 2025-02-07 16:11:46 +09:00
commit cd99e8c839

View file

@ -1259,11 +1259,8 @@ public class ConnectivityManagerTest {
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 {