Index: components/proximity_auth/remote_device_life_cycle_impl.cc |
diff --git a/components/proximity_auth/remote_device_life_cycle_impl.cc b/components/proximity_auth/remote_device_life_cycle_impl.cc |
index 011786fc1109b2f3de3d20d62f263e3e0725d2ea..12fb4ae80cdaffb2f2e8890d957bb36638365d65 100644 |
--- a/components/proximity_auth/remote_device_life_cycle_impl.cc |
+++ b/components/proximity_auth/remote_device_life_cycle_impl.cc |
@@ -19,6 +19,7 @@ |
#include "components/cryptauth/secure_message_delegate.h" |
#include "components/proximity_auth/bluetooth_connection.h" |
#include "components/proximity_auth/bluetooth_connection_finder.h" |
+#include "components/proximity_auth/bluetooth_low_energy_advertiser.h" |
#include "components/proximity_auth/bluetooth_low_energy_connection_finder.h" |
#include "components/proximity_auth/logging/logging.h" |
#include "components/proximity_auth/messenger_impl.h" |
@@ -56,6 +57,9 @@ void RemoteDeviceLifeCycleImpl::Start() { |
<< " started."; |
DCHECK(state_ == RemoteDeviceLifeCycle::State::STOPPED); |
FindConnection(); |
+ |
+ advertiser_ = base::MakeUnique<BluetoothLowEnergyAdvertiser>(); |
+ advertiser_->Advertise(); |
} |
cryptauth::RemoteDevice RemoteDeviceLifeCycleImpl::GetRemoteDevice() const { |