Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2501)

Unified Diff: device/bluetooth/dbus/bluetooth_gatt_application_service_provider.cc

Issue 1946053002: Fixes to DBus GATT components. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: device/bluetooth/dbus/bluetooth_gatt_application_service_provider.cc
diff --git a/device/bluetooth/dbus/bluetooth_gatt_application_service_provider.cc b/device/bluetooth/dbus/bluetooth_gatt_application_service_provider.cc
index 30d7dcdd48ae38fe926b117bb98a63c248d718b2..53b7cde628ab772fd0e7ff864c526f21a3cb7cfe 100644
--- a/device/bluetooth/dbus/bluetooth_gatt_application_service_provider.cc
+++ b/device/bluetooth/dbus/bluetooth_gatt_application_service_provider.cc
@@ -42,7 +42,7 @@ void BluetoothGattApplicationServiceProvider::CreateAttributeServiceProviders(
service_providers->push_back(
base::WrapUnique(BluetoothGattServiceServiceProvider::Create(
bus, service.second->object_path(),
- service.second->GetUUID().value(),
+ service.second->GetUUID().value(), service.second->IsPrimary(),
std::vector<dbus::ObjectPath>())));
for (const auto& characteristic : service.second->GetCharacteristics()) {
characteristic_providers->push_back(

Powered by Google App Engine
This is Rietveld 408576698