Fixes HelloConnections that can't discover Pixel device from iPhone for Ble_v2 medium.

PiperOrigin-RevId: 517318035
This commit is contained in:
Edwin Wu
2023-03-16 22:25:21 -07:00
committed by Copybara-Service
parent debe65ce54
commit 94ff506d1e
4 changed files with 19 additions and 12 deletions
+2 -2
View File
@@ -630,7 +630,7 @@ void BleV2::ProcessFetchGattAdvertisementsRequest(
}
if (slot_characteristic_uuids.empty()) {
// TODO(b/222392304): More test coverage.
NEARBY_LOGS(WARNING) << "Edwin GATT client doesn't have characteristics.";
NEARBY_LOGS(WARNING) << "GATT client doesn't have characteristics.";
advertisement_read_result.RecordLastReadStatus(false);
return;
}
@@ -644,7 +644,7 @@ void BleV2::ProcessFetchGattAdvertisementsRequest(
if (!gatt_client->DiscoverServiceAndCharacteristics(
mediums::bleutils::kCopresenceServiceUuid, characteristic_uuids)) {
// TODO(b/222392304): More test coverage.
NEARBY_LOGS(WARNING) << "Edwin GATT client doesn't have characteristics.";
NEARBY_LOGS(WARNING) << "GATT client doesn't have characteristics.";
advertisement_read_result.RecordLastReadStatus(false);
return;
}