Skip to content
Commit c0184adb authored by Eric Laurent's avatar Eric Laurent
Browse files

AudioService: synchronize BT_SCO on and A2DP or LE suspended states

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
Test: make
Change-Id: Iebf877d80084cb9ac67bb21e96379ef24721ecc1
parent f64a382e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment