diff options
Diffstat (limited to 'chromeos/dbus/fake_bluetooth_gatt_characteristic_client.cc')
-rw-r--r-- | chromeos/dbus/fake_bluetooth_gatt_characteristic_client.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chromeos/dbus/fake_bluetooth_gatt_characteristic_client.cc b/chromeos/dbus/fake_bluetooth_gatt_characteristic_client.cc index 04745e6..3567567 100644 --- a/chromeos/dbus/fake_bluetooth_gatt_characteristic_client.cc +++ b/chromeos/dbus/fake_bluetooth_gatt_characteristic_client.cc @@ -294,6 +294,11 @@ void FakeBluetoothGattCharacteristicClient::ExposeHeartRateCharacteristics( kClientCharacteristicConfigurationUUID)); DCHECK(ccc_path.IsValid()); heart_rate_measurement_ccc_desc_path_ = ccc_path.value(); + + std::vector<dbus::ObjectPath> desc_paths; + desc_paths.push_back(ccc_path); + + heart_rate_measurement_properties_->descriptors.ReplaceValue(desc_paths); } void FakeBluetoothGattCharacteristicClient::HideHeartRateCharacteristics() { |