AudioDeviceBroker: reapply BT HAL state on native AS restart

When native audio server dies, the audio service needs to
re-send the current state of BT profiles. This is needed for
the AIDL HAL which tracks the state of profiles at the module
context and makes decisions based on it. Previously, the
state was only affecting the state of HAL streams.

Bug: 320838889
Test: kill audio_server, check `System setParameters` in AF dump
Change-Id: I8ea732ee6dfcfce1123fb744bb69d0c4201d2285
1 file changed