vendor: bt: Add condition to use AIDL QTI bt audio

Change-Id: If2e83082322709c2acdf2b59f22e23722587e2fd
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
This commit is contained in:
Fabian Leutenegger 2023-09-08 15:16:53 +02:00 committed by Adithya R
parent 5ae4df4fef
commit beabec3e8e
1 changed files with 8 additions and 1 deletions

9
vendor/bt/qti-bt.mk vendored
View File

@ -20,7 +20,6 @@ endif
# Packages
PRODUCT_PACKAGES += \
android.hardware.bluetooth@1.1.vendor \
android.hardware.bluetooth.audio@2.1-impl \
audio.bluetooth.default \
com.dsi.ant@1.0.vendor \
com.qualcomm.qti.bluetooth_audio@1.0.vendor \
@ -30,6 +29,14 @@ PRODUCT_PACKAGES += \
vendor.qti.hardware.btconfigstore@1.0.vendor \
vendor.qti.hardware.btconfigstore@2.0.vendor
ifeq ($(TARGET_USE_AIDL_QTI_BT_AUDIO),true)
PRODUCT_PACKAGES += \
android.hardware.bluetooth.audio-impl
else
PRODUCT_PACKAGES += \
android.hardware.bluetooth.audio@2.1-impl
endif
# FM
PRODUCT_PACKAGES += \
vendor.qti.hardware.fm@1.0.vendor