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