| 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 fb7a379316516ccca0178031bc969c295d79f12d..79a27a5c4a84a886155d810ae0963b5c6de4e3eb 100644
|
| --- a/device/bluetooth/bluetooth_low_energy_device_mac.mm
|
| +++ b/device/bluetooth/bluetooth_low_energy_device_mac.mm
|
| @@ -35,7 +35,11 @@
|
| [peripheral_ setDelegate:peripheral_delegate_];
|
| identifier_ = GetPeripheralIdentifier(peripheral);
|
| hash_address_ = GetPeripheralHashAddress(peripheral);
|
| - Update(advertisement_data, rssi);
|
| +
|
| + if (advertisement_data)
|
| + Update(advertisement_data, rssi);
|
| + else
|
| + UpdateTimestamp();
|
| }
|
|
|
| BluetoothLowEnergyDeviceMac::~BluetoothLowEnergyDeviceMac() {
|
|
|