| Index: components/proximity_auth/ble/proximity_auth_ble_system.cc
|
| diff --git a/components/proximity_auth/ble/proximity_auth_ble_system.cc b/components/proximity_auth/ble/proximity_auth_ble_system.cc
|
| index bf4c2c743c4fbadf473877284815b68d3d1afc3b..673792d82ed51705a3fa6e6250a43bff40c46039 100644
|
| --- a/components/proximity_auth/ble/proximity_auth_ble_system.cc
|
| +++ b/components/proximity_auth/ble/proximity_auth_ble_system.cc
|
| @@ -70,6 +70,11 @@ void ProximityAuthBleSystem::OnFocusedUserChanged(const std::string& user_id) {
|
|
|
| void ProximityAuthBleSystem::OnConnectionFound(
|
| scoped_ptr<device::BluetoothGattConnection> connection) {
|
| + VLOG(1) << "Connection found. Unlock.";
|
| +
|
| + // Close the connection as it it no longer needed.
|
| + connection_finder_->CloseConnection(connection.Pass());
|
| +
|
| // Unlock the screen when a connection is found.
|
| //
|
| // Note that this magically unlocks Chrome (no user interaction is needed).
|
|
|