Index: device/bluetooth/dbus/fake_bluetooth_device_client.cc |
diff --git a/device/bluetooth/dbus/fake_bluetooth_device_client.cc b/device/bluetooth/dbus/fake_bluetooth_device_client.cc |
index 9e3e6bcd63b7d0431704dabc3e1f26ab157c4f55..7939f66ce4bf018134737edf6755bc2b16619419 100644 |
--- a/device/bluetooth/dbus/fake_bluetooth_device_client.cc |
+++ b/device/bluetooth/dbus/fake_bluetooth_device_client.cc |
@@ -387,12 +387,7 @@ void FakeBluetoothDeviceClient::Connect(const dbus::ObjectPath& object_path, |
// Expose GATT services if connected to LE device. |
if (object_path == dbus::ObjectPath(kLowEnergyPath)) { |
- FakeBluetoothGattServiceClient* gatt_service_client = |
- static_cast<FakeBluetoothGattServiceClient*>( |
- bluez::BluezDBusManager::Get()->GetBluetoothGattServiceClient()); |
- gatt_service_client->ExposeHeartRateService( |
- dbus::ObjectPath(kLowEnergyPath)); |
- properties->gatt_services.ReplaceValue(gatt_service_client->GetServices()); |
+ properties->services_resolved.ReplaceValue(true); |
} |
AddInputDeviceIfNeeded(object_path, properties); |