Merge "Don't wait for unnecessary disconnect broadcast"
This commit is contained in:
@@ -757,7 +757,7 @@ public class TetheringManagerTest {
|
||||
if (!isWifiTetheringSupported(tetherEventCallback)) return;
|
||||
|
||||
if (previousWifiEnabledState) {
|
||||
mCtsNetUtils.disconnectFromWifi(null);
|
||||
mCtsNetUtils.ensureWifiDisconnected(null);
|
||||
}
|
||||
|
||||
final TestNetworkCallback networkCallback = new TestNetworkCallback();
|
||||
|
||||
Reference in New Issue
Block a user