mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-16 15:36:12 -04:00
Internal refactor
PiperOrigin-RevId: 815749899
This commit is contained in:
committed by
Copybara-Service
parent
a065584164
commit
cce45b745e
@@ -1159,7 +1159,7 @@ void BasePcpHandler::StripOutUnavailableMediums(
|
||||
allowed.bluetooth = mediums_->GetBluetoothClassic().IsAvailable();
|
||||
}
|
||||
if (allowed.ble) {
|
||||
allowed.ble = mediums_->GetBleV2().IsAvailable();
|
||||
allowed.ble = mediums_->GetBle().IsAvailable();
|
||||
}
|
||||
if (allowed.web_rtc) {
|
||||
allowed.web_rtc = mediums_->GetWebRtc().IsAvailable();
|
||||
@@ -1206,7 +1206,7 @@ void BasePcpHandler::StripOutUnavailableMediums(
|
||||
allowed.bluetooth = mediums_->GetBluetoothClassic().IsAvailable();
|
||||
}
|
||||
if (allowed.ble) {
|
||||
allowed.ble = mediums_->GetBleV2().IsAvailable();
|
||||
allowed.ble = mediums_->GetBle().IsAvailable();
|
||||
}
|
||||
if (allowed.web_rtc) {
|
||||
allowed.web_rtc = mediums_->GetWebRtc().IsAvailable();
|
||||
|
||||
Reference in New Issue
Block a user