Merge "TetheringTest: correct the comment in chooseDunUpstreamTestCommon"

This commit is contained in:
Nucca Chen
2023-01-18 11:40:41 +00:00
committed by Gerrit Code Review

View File

@@ -1802,7 +1802,7 @@ public class TetheringTest {
TestNetworkAgent mobile, TestNetworkAgent wifi, TestNetworkAgent dun) throws Exception { TestNetworkAgent mobile, TestNetworkAgent wifi, TestNetworkAgent dun) throws Exception {
final NetworkCallback dunNetworkCallback = setupDunUpstreamTest(automatic, inOrder); final NetworkCallback dunNetworkCallback = setupDunUpstreamTest(automatic, inOrder);
// Pretend cellular connected and expect the upstream to be set. // Pretend cellular connected and expect the upstream to be not set.
mobile.fakeConnect(); mobile.fakeConnect();
mCm.makeDefaultNetwork(mobile, BROADCAST_FIRST); mCm.makeDefaultNetwork(mobile, BROADCAST_FIRST);
mLooper.dispatchAll(); mLooper.dispatchAll();