Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit aaa61606 authored by Krzysztof Kopyściński's avatar Krzysztof Kopyściński
Browse files

has_client.cc: fix single device disconnection

Before BTA_GATTC_Close is called, DoDisconnectCleanUp() and
devices_.erase() shall be called, preventing second call of disconnect
from GATT.

Bug: 370405555
Bug: 361014973
Test: atest --host --no-bazel-mode HasClientTest
Flag: com.android.bluetooth.flags.hap_connect_only_requested_device
Change-Id: Id1c1944b0ea15a6c0caa10be38092997c98f1cb9
parent a7391758
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment