mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-16 07:36:10 -04:00
Allow send and receive surfaces at the same time.
PiperOrigin-RevId: 666417182
This commit is contained in:
committed by
Copybara-Service
parent
f2aed20443
commit
52dac14a3c
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user