From 5e718ca7473d46513a99760ff9a1839bf3863342 Mon Sep 17 00:00:00 2001 From: dianlujitao Date: Mon, 25 May 2020 11:15:11 +0800 Subject: [PATCH] sm8250-common: Switch to QTI bt stack Change-Id: I47016b066ae800d0071dbad6a1235cbc9db3cf80 --- BoardConfigCommon.mk | 3 +++ common.mk | 4 ++++ system.prop | 3 +++ 3 files changed, 10 insertions(+) diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index 4b45851..4ee8794 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -78,6 +78,9 @@ DEXPREOPT_GENERATE_APEX_IMAGE := true USE_CUSTOM_AUDIO_POLICY := 1 USE_XML_AUDIO_POLICY_CONF := 1 +# Bluetooth +TARGET_FWK_SUPPORTS_FULL_VALUEADDS := true + # Charger BOARD_CHARGER_DISABLE_INIT_BLANK := true diff --git a/common.mk b/common.mk index 0483e00..234ed07 100644 --- a/common.mk +++ b/common.mk @@ -78,6 +78,10 @@ PRODUCT_COPY_FILES += \ $(LOCAL_PATH)/audio/audio_policy_configuration.xml:$(TARGET_COPY_OUT_PRODUCT)/vendor_overlay/$(PRODUCT_TARGET_VNDK_VERSION)/etc/audio/audio_policy_configuration.xml \ $(LOCAL_PATH)/audio/audio_policy_configuration.xml:$(TARGET_COPY_OUT_PRODUCT)/vendor_overlay/$(PRODUCT_TARGET_VNDK_VERSION)/etc/audio_policy_configuration.xml +# Bluetooth +PRODUCT_PACKAGES += \ + BluetoothQti + # Boot control PRODUCT_PACKAGES += \ android.hardware.boot@1.0-impl.recovery \ diff --git a/system.prop b/system.prop index ffa6309..3e15397 100644 --- a/system.prop +++ b/system.prop @@ -3,6 +3,9 @@ audio.offload.min.duration.secs=30 persist.vendor.audio.hac.enable=false persist.vendor.audio_hal.dsp_bit_width_enforce_mode=24 +# Bluetooth +ro.bluetooth.library_name=libbluetooth_qti.so + # Camera camera.disable_zsl_mode=true