Revert "[APTX] universal7885: remove a2dp hal"

This reverts commit d460d66609f1558f6b9d466359a9c47cfb1eb001.

Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
This commit is contained in:
roynatech2544 2021-11-24 20:44:49 +09:00
commit 893b39ef3e
No known key found for this signature in database
GPG key ID: 9675C32163D88D30
2 changed files with 14 additions and 2 deletions

View file

@ -17,6 +17,16 @@
<instance>default</instance>
</interface>
</hal>
<hal format="hidl">
<name>android.hardware.bluetooth.a2dp</name>
<transport>hwbinder</transport>
<version>1.0</version>
<interface>
<name>IBluetoothAudioOffload</name>
<instance>default</instance>
</interface>
<fqname>@1.0::IBluetoothAudioOffload/default</fqname>
</hal>
<hal format="hidl">
<name>android.hardware.bluetooth.audio</name>
<transport>hwbinder</transport>

View file

@ -33,13 +33,15 @@ PRODUCT_PACKAGES += \
# Audio (BT)
PRODUCT_PACKAGES += \
android.hardware.bluetooth.audio@2.1-impl \
audio.bluetooth.default
audio.bluetooth.default \
android.hardware.bluetooth.a2dp@1.0
# Aptx
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/aptx/libaptX_encoder.so:$(TARGET_COPY_OUT_PRODUCT)/lib64/libaptX_encoder.so \
$(LOCAL_PATH)/aptx/libaptXHD_encoder.so:$(TARGET_COPY_OUT_PRODUCT)/lib64/libaptXHD_encoder.so
$(LOCAL_PATH)/aptx/libaptXHD_encoder.so:$(TARGET_COPY_OUT_PRODUCT)/lib64/libaptXHD_encoder.so
# Audio Configs
PRODUCT_COPY_FILES += \
frameworks/av/services/audiopolicy/config/a2dp_in_audio_policy_configuration_7_0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/a2dp_in_audio_policy_configuration.xml \
$(LOCAL_PATH)/configs/audio/bluetooth_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_audio_policy_configuration.xml \