commit | 7cf5ae1c79a79c5df02ceea37d4ed37cb17e63b6 | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Fri Dec 10 17:54:50 2021 +0100 |
committer | Eric Laurent <elaurent@google.com> | Fri Dec 10 18:58:00 2021 +0000 |
tree | 7554ce0f98de91c22f8b9abac2cf83e681014711 | |
parent | f49cf8a41369e5202a372ad1c65eb19ef30207ea [diff] |
AudioService: fix SCO audio resume after call In AudioDeviceBroker.setCommunicationRouteForClient(), if the requested device is SCO audio, start BT SCO audio not only when SCO was not requested before but also if SCO audio is not active. Bug: 206739623 Test: repro steps in bug. Test: atest AudioCommunicationDeviceTest Change-Id: I36bd1f32811e0cd4db4ffc54a5fb189f0352cfe8