summaryrefslogtreecommitdiffstats
path: root/components/proximity_auth/bluetooth_throttler_impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'components/proximity_auth/bluetooth_throttler_impl.cc')
-rw-r--r--components/proximity_auth/bluetooth_throttler_impl.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/components/proximity_auth/bluetooth_throttler_impl.cc b/components/proximity_auth/bluetooth_throttler_impl.cc
index 9963fb0..a44ce1e 100644
--- a/components/proximity_auth/bluetooth_throttler_impl.cc
+++ b/components/proximity_auth/bluetooth_throttler_impl.cc
@@ -55,8 +55,7 @@ void BluetoothThrottlerImpl::OnConnectionStatusChanged(
Connection::Status old_status,
Connection::Status new_status) {
DCHECK(ContainsKey(connections_, connection));
- if (old_status == Connection::CONNECTED &&
- new_status == Connection::DISCONNECTED) {
+ if (new_status == Connection::DISCONNECTED) {
last_disconnect_time_ = clock_->NowTicks();
connection->RemoveObserver(this);
connections_.erase(connection);