| Index: device/bluetooth/bluetooth_device_android.cc
|
| diff --git a/device/bluetooth/bluetooth_device_android.cc b/device/bluetooth/bluetooth_device_android.cc
|
| index 22c1a0ef99d648820243336368e4de20ec1a4b63..04a01298fddc82c5b4fd1a00239393822788f2e1 100644
|
| --- a/device/bluetooth/bluetooth_device_android.cc
|
| +++ b/device/bluetooth/bluetooth_device_android.cc
|
| @@ -222,7 +222,10 @@
|
| } else {
|
| // Otherwise an existing connection was terminated.
|
| RecordConnectionTerminatedResult(status);
|
| - DidDisconnectGatt(true /* notifyDeviceChanged */);
|
| + gatt_services_.clear();
|
| + device_uuids_.ClearServiceUUIDs();
|
| + SetGattServicesDiscoveryComplete(false);
|
| + DidDisconnectGatt();
|
| }
|
| }
|
|
|
|
|