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