| Index: device/bluetooth/bluez/bluetooth_service_record_bluez.cc
|
| diff --git a/device/bluetooth/bluez/bluetooth_service_record_bluez.cc b/device/bluetooth/bluez/bluetooth_service_record_bluez.cc
|
| index 262e4e1c3254c2305397df6c91e110adee555ab2..e039d25520a0c0f0b008807eb489e379398cfbd8 100644
|
| --- a/device/bluetooth/bluez/bluetooth_service_record_bluez.cc
|
| +++ b/device/bluetooth/bluez/bluetooth_service_record_bluez.cc
|
| @@ -45,4 +45,8 @@ void BluetoothServiceRecordBlueZ::AddRecordEntry(
|
| std::pair<uint16_t, BluetoothServiceAttributeValueBlueZ>(id, value));
|
| }
|
|
|
| +bool BluetoothServiceRecordBlueZ::IsAttributePresented(uint16_t id) {
|
| + return attributes_.find(id) != attributes_.end();
|
| +}
|
| +
|
| } // namespace bluez
|
|
|