From e467802dc7b7f556b109761bfc92bf0e433536d3 Mon Sep 17 00:00:00 2001 From: zork Date: Wed, 22 Oct 2014 16:42:18 -0700 Subject: Set the proper stage on pairing connection error BUG=426225 Review URL: https://codereview.chromium.org/669263002 Cr-Commit-Position: refs/heads/master@{#300800} --- components/pairing/bluetooth_controller_pairing_controller.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'components/pairing') diff --git a/components/pairing/bluetooth_controller_pairing_controller.cc b/components/pairing/bluetooth_controller_pairing_controller.cc index 56c34db..1d8e026 100644 --- a/components/pairing/bluetooth_controller_pairing_controller.cc +++ b/components/pairing/bluetooth_controller_pairing_controller.cc @@ -204,6 +204,9 @@ void BluetoothControllerPairingController::OnConnectError( // devices. If the connection fails, it's not a problem as long as pairing // was successful. OnConnect(); + } else { + // This can happen if the confirmation dialog times out. + ChangeStage(STAGE_ESTABLISHING_CONNECTION_ERROR); } } -- cgit v1.1