commit | 808993cc49c67d5c7a4cb522016ae2c7b4ec61d8 | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Fri May 12 15:56:34 2023 +0200 |
committer | Eric Laurent <elaurent@google.com> | Mon May 15 09:23:59 2023 +0200 |
tree | 125c7dedebd04b35101b6d15329ca31e74b5b548 | |
parent | e38a303dc4a3216b869256e23b4166300da1a485 [diff] |
AudioService: synchronize BT_SCO on and A2DP or LE suspended states - take 2 Handle A2DP and LE Audio suspend requests in AudioService and AudioDeviceBroker to enforce permissions and keep a single synchronized ground truth for the audio HAL state. Make sure that A2DP and LE Audio are suspended before BT_SCO is turned ON and unsuspended if needed if BT_SCO is turned OFF. Bug: 265077417 Bug: 279558132 Bug: 281786703 Test: make Change-Id: Ia709a5c3f89dbc19933450acb0e5af95b3f6d559