| Index: device/bluetooth/bluetooth_low_energy_device_mac.mm
|
| diff --git a/device/bluetooth/bluetooth_low_energy_device_mac.mm b/device/bluetooth/bluetooth_low_energy_device_mac.mm
|
| index ebf0f4cccaa613a1aabd9c8ab84bbba80289e908..30bd96f695fdb126605379b7b6e951243308a05d 100644
|
| --- a/device/bluetooth/bluetooth_low_energy_device_mac.mm
|
| +++ b/device/bluetooth/bluetooth_low_energy_device_mac.mm
|
| @@ -33,6 +33,11 @@
|
| [peripheral_ setDelegate:peripheral_delegate_];
|
| identifier_ = GetPeripheralIdentifier(peripheral);
|
| hash_address_ = GetPeripheralHashAddress(peripheral);
|
| +
|
| + // TODO(jracle): Following line is a patch to avoid being considered
|
| + // as a timed-out device in BluetoothAdapter::RemoveTimedOutDevices().
|
| + // Consider removing it and review BluetoothAdapter's logic.
|
| + UpdateTimestamp();
|
| }
|
|
|
| BluetoothLowEnergyDeviceMac::~BluetoothLowEnergyDeviceMac() {
|
|
|