| Index: device/bluetooth/bluetooth_device.cc
|
| diff --git a/device/bluetooth/bluetooth_device.cc b/device/bluetooth/bluetooth_device.cc
|
| index ee84193c4e6e3e95af8dd6a4725d6412feda6bea..7c56c127884732fcc129b68a325a909840570e18 100644
|
| --- a/device/bluetooth/bluetooth_device.cc
|
| +++ b/device/bluetooth/bluetooth_device.cc
|
| @@ -470,11 +470,7 @@
|
| create_gatt_connection_error_callbacks_.clear();
|
| }
|
|
|
| -void BluetoothDevice::DidDisconnectGatt(bool notifyDeviceChanged) {
|
| - gatt_services_.clear();
|
| - device_uuids_.ClearServiceUUIDs();
|
| - SetGattServicesDiscoveryComplete(false);
|
| -
|
| +void BluetoothDevice::DidDisconnectGatt() {
|
| // Pending calls to connect GATT are not expected, if they were then
|
| // DidFailToConnectGatt should have been called.
|
| DCHECK(create_gatt_connection_error_callbacks_.empty());
|
| @@ -484,8 +480,7 @@
|
| connection->InvalidateConnectionReference();
|
| }
|
| gatt_connections_.clear();
|
| - if (notifyDeviceChanged)
|
| - GetAdapter()->NotifyDeviceChanged(this);
|
| + GetAdapter()->NotifyDeviceChanged(this);
|
| }
|
|
|
| void BluetoothDevice::AddGattConnection(BluetoothGattConnection* connection) {
|
|
|