diff --git a/sharing/nearby_sharing_service_impl.cc b/sharing/nearby_sharing_service_impl.cc index 88187851..a7dc992b 100644 --- a/sharing/nearby_sharing_service_impl.cc +++ b/sharing/nearby_sharing_service_impl.cc @@ -2038,15 +2038,6 @@ void NearbySharingServiceImpl::InvalidateAdvertisingState() { return; } - // We're scanning for other nearby devices. Don't advertise. - if (is_scanning_) { - StopAdvertising(); - NL_VLOG(1) - << __func__ - << ": Stopping advertising because we're scanning for other devices."; - return; - } - if (is_transferring_) { StopAdvertising(); NL_VLOG(1)