commit | f88c2f334abc5a40352c4141347e7a8eb62794d7 | [log] [tgz] |
---|---|---|
author | Mikhail Naganov <mnaganov@google.com> | Tue Apr 16 15:01:13 2024 -0700 |
committer | Mikhail Naganov <mnaganov@google.com> | Wed Apr 17 09:51:13 2024 -0700 |
tree | 20a5d2235003aad37ed863d5453e3cc5006cbd2e | |
parent | f84ae5370242ec407ea143ca98eb1ffd78cf1f15 [diff] |
audio policy: Fix handling of external device connection failure The cleanup code in 'APM::setDeviceConnectionStateInt' was detaching the external device prior to sending an update to HALs. As a result, HALs were receiving an empty device address. Bug: 333196025 Test: atest audiopolicy_tests Change-Id: I76e8303f81d1d27484a62c073128600fb7718bab