Merge "Don't wait for unnecessary disconnect broadcast"

This commit is contained in:
Chiachang Wang
2020-10-07 00:50:36 +00:00
committed by Gerrit Code Review

View File

@@ -757,7 +757,7 @@ public class TetheringManagerTest {
if (!isWifiTetheringSupported(tetherEventCallback)) return;
if (previousWifiEnabledState) {
mCtsNetUtils.disconnectFromWifi(null);
mCtsNetUtils.ensureWifiDisconnected(null);
}
final TestNetworkCallback networkCallback = new TestNetworkCallback();