Merge "Don't check validation state in waitForAvailable(..., Network)."

This commit is contained in:
Lorenzo Colitti 2022-02-18 17:04:27 +00:00 • committed by Gerrit Code Review
commit dbb9280abc

View file

@ -2174,7 +2174,7 @@ public class ConnectivityManagerTest {
private void waitForAvailable(
@NonNull final TestableNetworkCallback cb, @NonNull final Network expectedNetwork) {
cb.expectAvailableCallbacks(expectedNetwork, false /* suspended */,
true /* validated */,
null /* validated */,
false /* blocked */, NETWORK_CALLBACK_TIMEOUT_MS);
}