Index: device/bluetooth/bluetooth_gatt_connection_chromeos.cc |
diff --git a/device/bluetooth/bluetooth_gatt_connection_chromeos.cc b/device/bluetooth/bluetooth_gatt_connection_chromeos.cc |
index 93b9747adcebc1cc8328e05be635f1f647de5158..0c46619fc861a501e0eb5fc4f54e8306324b8cbd 100644 |
--- a/device/bluetooth/bluetooth_gatt_connection_chromeos.cc |
+++ b/device/bluetooth/bluetooth_gatt_connection_chromeos.cc |
@@ -94,6 +94,11 @@ void BluetoothGattConnectionChromeOS::DevicePropertyChanged( |
if (property_name == properties->connected.name() && |
!properties->connected.value()) |
connected_ = false; |
+ |
+ // The remote device's bluetooth address may change if it is paired while |
+ // connected. |
+ if (property_name == properties->address.name()) |
+ device_address_ = properties->address.value(); |
} |
} // namespace chromeos |