The audio.bluetooth.default.so audio module, configured by
bluetooth_audio_policy_configuration.xml, utilizes the new HAL-based
mechanism to register a BT audio endpoint and transfer audio data.
Update our policy to route audio properly to this module, while
retaining a2dp input compatibility through the old mechanism.
audio_policy_configuration_bluetooth_legacy_hal.xml remains unchanged to
reflect the old variant of the system (using sockets between the BT
stack and audioserver), usable with
persist.bluetooth.bluetooth_audio_hal.disabled=true.
NOTE: This relies on device-sony-common to add the new files to
PRODUCT_COPY_FILES.
The audio.bluetooth.default.so audio module, configured by bluetooth_audio_policy_configuration.xml, utilizes the new HAL-based mechanism to register a BT audio endpoint and transfer audio data. Update our policy to route audio properly to this module, while retaining a2dp input compatibility through the old mechanism.
See the identical change in crosshatch: https://android.googlesource.com/device/google/crosshatch/+/c05ccdbed6c7c74d450e7149969c6c3431155628
audio_policy_configuration_bluetooth_legacy_hal.xml remains unchanged to reflect the old variant of the system (using sockets between the BT stack and audioserver), usable with persist.bluetooth.bluetooth_audio_hal.disabled=true.
NOTE: This relies on device-sony-common to add the new files to PRODUCT_COPY_FILES.