cts: fix p2p cts test cases

p2p does not use NetworkInfo.isAvailable() anymore.
Remove this obsolete check.

Bug: 148164038
Bug: 148561948
Test: atest android.net.wifi.cts.ConcurrencyTest
Change-Id: I544a2363d85ea47e404e481d4d285b9fd6b38eb5
This commit is contained in:
Jimmy Chen
2020-02-11 19:01:57 +08:00
parent 8db173d81e
commit 24bc3a62e7

View File

@@ -299,7 +299,6 @@ public class ConcurrencyTest extends AndroidTestCase {
assertTrue(waitForBroadcasts(MySync.NETWORK_INFO));
// wait for changing to EnabledState
assertNotNull(mMySync.expectedNetworkInfo);
assertTrue(mMySync.expectedNetworkInfo.isAvailable());
return true;
}