commit | c89895fd3947f9477e0dce9d5bf1790d2a185f6a | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Wed Aug 18 17:49:43 2021 +0200 |
committer | Eric Laurent <elaurent@google.com> | Wed Aug 18 21:33:22 2021 +0200 |
tree | 92ec886363892761ff9f275c78efa6aab8ad5214 | |
parent | 9fd3a5cc5e6f7140e303744c34cab538cd67fda9 [diff] |
AudioService: stop SCO audio when communication route client dies Fix AudioDeviceBroker.onCommunicationRouteClientDied() implementation to actually stop BT SCO audio in case of client death. Previous implementation was just removing the client from the client list and restoring audio route but wihtout stopping the actual SCO audio link. Bug: 196922082 Test: repro steps in bug Change-Id: I381537f61740f9a9fcbf3232ef4336943b0826c5