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( |