| Index: device/bluetooth/bluez/bluetooth_device_bluez.cc
|
| diff --git a/device/bluetooth/bluez/bluetooth_device_bluez.cc b/device/bluetooth/bluez/bluetooth_device_bluez.cc
|
| index 2a91a49f6ab1af727b671461e7c4a7fa7b06ea38..50b54cbb5d33ac6080ddf52c448ba9ccf13be500 100644
|
| --- a/device/bluetooth/bluez/bluetooth_device_bluez.cc
|
| +++ b/device/bluetooth/bluez/bluetooth_device_bluez.cc
|
| @@ -928,6 +928,9 @@ void BluetoothDeviceBlueZ::OnSetTrusted(bool success) {
|
|
|
| void BluetoothDeviceBlueZ::OnDisconnect(const base::Closure& callback) {
|
| VLOG(1) << object_path_.value() << ": Disconnected";
|
| + // Do not notify about changed device since this is already done by
|
| + // the dbus::PropertySet and the property change callback for BlueZ.
|
| + DidDisconnectGatt(false /* notifyDeviceChanged */);
|
| callback.Run();
|
| }
|
|
|
|
|