summaryrefslogtreecommitdiffstats
path: root/device/bluetooth/dbus/bluetooth_gatt_descriptor_service_provider.cc
diff options
context:
space:
mode:
Diffstat (limited to 'device/bluetooth/dbus/bluetooth_gatt_descriptor_service_provider.cc')
-rw-r--r--device/bluetooth/dbus/bluetooth_gatt_descriptor_service_provider.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/device/bluetooth/dbus/bluetooth_gatt_descriptor_service_provider.cc b/device/bluetooth/dbus/bluetooth_gatt_descriptor_service_provider.cc
index 53cc7f1..25a4e4c 100644
--- a/device/bluetooth/dbus/bluetooth_gatt_descriptor_service_provider.cc
+++ b/device/bluetooth/dbus/bluetooth_gatt_descriptor_service_provider.cc
@@ -450,7 +450,7 @@ BluetoothGattDescriptorServiceProvider::Create(
const std::string& uuid,
const std::vector<std::string>& permissions,
const dbus::ObjectPath& characteristic_path) {
- if (!bluez::BluezDBusManager::Get()->IsUsingStub()) {
+ if (!bluez::BluezDBusManager::Get()->IsUsingFakes()) {
return new BluetoothGattDescriptorServiceProviderImpl(
bus, object_path, delegate, uuid, permissions, characteristic_path);
}