From c50d67a2db7a8f8bcff1d044b27ea341545c4a03 Mon Sep 17 00:00:00 2001 From: Alexander Koskovich Date: Thu, 18 Mar 2021 15:58:28 -0700 Subject: [PATCH] common: bt: Set the default BT library to QTI. Change-Id: If009d1d4da840ac76064859949bfb2ab44ca72a1 --- bt/qti-bt.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bt/qti-bt.mk b/bt/qti-bt.mk index d0e29b3c..8c15c6ff 100644 --- a/bt/qti-bt.mk +++ b/bt/qti-bt.mk @@ -23,5 +23,11 @@ PRODUCT_COPY_FILES += \ frameworks/native/data/etc/android.hardware.bluetooth_le.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth_le.xml \ frameworks/native/data/etc/android.hardware.bluetooth.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth.xml +# Properties +ifeq ($(TARGET_USE_QTI_BT_STACK),true) +PRODUCT_SYSTEM_EXT_PROPERTIES += \ + ro.bluetooth.library_name=libbluetooth_qti.so +endif + # Get non-open-source specific aspects. $(call inherit-product-if-exists, vendor/qcom/common/bt/bt-vendor.mk)