sm8350-common: Blob out audio HAL extensions

These targets are using prebuilt audio HAL and for some reason,
using the source-built liba2dpoffload breaks A2DP. Just use
prebuilt HAL extensions to avoid mismatches.
Build libtinycompress explicitly as that was built implicitly as
dependency of the audio HAL extensions previously.

Change-Id: I37a5601afdbfdcb81a1053b366fad79fadf4eaa7
This commit is contained in:
Bruno Martins 2020-02-01 21:27:41 +00:00 committed by Arian
parent 3be76db707
commit 7469b72e89
2 changed files with 2 additions and 7 deletions

View File

@ -50,6 +50,7 @@ AUDIO_FEATURE_ENABLED_PROXY_DEVICE := true
AUDIO_FEATURE_ENABLED_EXTENDED_COMPRESS_FORMAT := true
AUDIO_FEATURE_ENABLED_GKI := true
BOARD_SUPPORTS_SOUND_TRIGGER := true
TARGET_PROVIDES_AUDIO_EXTNS := true
# Audio policy
USE_CUSTOM_AUDIO_POLICY := 1

View File

@ -34,6 +34,7 @@ PRODUCT_PACKAGES += \
libqcompostprocbundle \
libqcomvisualizer \
libqcomvoiceprocessing \
libtinycompress \
libvolumelistener
PRODUCT_PACKAGES += \
@ -47,13 +48,6 @@ PRODUCT_PACKAGES += \
android.hardware.audio.service \
android.hardware.soundtrigger@2.2-impl
PRODUCT_PACKAGES += \
liba2dpoffload \
libbatterylistener \
libhdmiedid \
libhfp \
libsndmonitor
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/audio/audio_tuning_mixer.txt:$(TARGET_COPY_OUT_VENDOR)/etc/audio_tuning_mixer.txt \
$(LOCAL_PATH)/audio/bluetooth_qti_hearing_aid_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_qti_hearing_aid_audio_policy_configuration.xml