diff options
author | Sungsoo Lim <sungsoo@google.com> | 2022-02-15 16:31:43 +0900 |
---|---|---|
committer | Jack He <siyuanh@google.com> | 2022-02-18 21:10:54 +0000 |
commit | 4709934d02dc0645b74bacae4f98dcd6f285c454 (patch) | |
tree | 0b0f40581e47e9131892ae889e0b49dbdedfade2 /framework/java/android/bluetooth/BluetoothLeAudioCodecConfig.java | |
parent | a12d6b4ff7d0d0ac83e19a0ff8398d591d6eaf01 (diff) |
Prevent an infinite waiting of ACL connection to drain
There is a case that BTM_GetNumAclLinks > 0, but
force_disconnect_all_acl_connections() == false. In that case,
bta_dm_wait_for_acl_to_drain_cback() is not called twice, and it
enters infinite waiting. This CL prevents the infinite waiting.
Bug: 208477587
Tag: #refactor
Test: atest CtsBluetoothTestCases bluetooth_test_gd_unit
Change-Id: Ife1891f99a085a9ddefeed63b9b807827f963ccb
Diffstat (limited to 'framework/java/android/bluetooth/BluetoothLeAudioCodecConfig.java')
0 files changed, 0 insertions, 0 deletions