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:
parent
5c909394a6
commit
cd99e8c839
1 changed files with 2 additions and 5 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue