mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-15 07:06:11 -04:00
Fixed internal issues found in test
PiperOrigin-RevId: 537340986
This commit is contained in:
committed by
Copybara-Service
parent
5f31f27f0e
commit
5740dcccbb
@@ -272,6 +272,8 @@ std::unique_ptr<BleV2Medium::ScanningSession> BleV2Medium::StartScanning(
|
||||
|
||||
if (adapter_->IsExtendedAdvertisingSupported()) {
|
||||
watcher_.AllowExtendedAdvertisements(true);
|
||||
} else {
|
||||
watcher_.AllowExtendedAdvertisements(false);
|
||||
}
|
||||
|
||||
// Active mode indicates that scan request packets will be sent to query
|
||||
@@ -954,8 +956,6 @@ void BleV2Medium::AdvertisementReceivedHandler(
|
||||
ble_advertisement_data.is_extended_advertisement = false;
|
||||
} else {
|
||||
ble_advertisement_data.is_extended_advertisement = true;
|
||||
// test purpose
|
||||
return;
|
||||
}
|
||||
|
||||
ble_advertisement_data.service_data[service_uuid_] = advertisement_data;
|
||||
|
||||
Reference in New Issue
Block a user