From 286b0959a9304e856d7493e4bd86ae700b64f582 Mon Sep 17 00:00:00 2001 From: Alexander Koskovich Date: Sun, 13 Nov 2022 02:38:15 +0530 Subject: [PATCH] sm8350-common: Move BT profiles props to vendor * Makes it GSI compatible Change-Id: I8f7caf241d508af59c16482e6185c42f23f8a460 --- BoardConfigCommon.mk | 1 - product.prop | 16 ---------------- vendor.prop | 15 +++++++++++++++ 3 files changed, 15 insertions(+), 17 deletions(-) delete mode 100644 product.prop diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index ceadfd8..dcba58d 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -154,7 +154,6 @@ TARGET_POWERHAL_MODE_EXT := $(COMMON_PATH)/power/power-mode.cpp # Properties TARGET_ODM_PROP += $(COMMON_PATH)/odm.prop -TARGET_PRODUCT_PROP += $(COMMON_PATH)/product.prop TARGET_SYSTEM_PROP += $(COMMON_PATH)/system.prop TARGET_SYSTEM_EXT_PROP += $(COMMON_PATH)/system_ext.prop TARGET_VENDOR_PROP += $(COMMON_PATH)/vendor.prop diff --git a/product.prop b/product.prop deleted file mode 100644 index 629d142..0000000 --- a/product.prop +++ /dev/null @@ -1,16 +0,0 @@ -# Bluetooth -bluetooth.device.class_of_device=90,2,12 -bluetooth.profile.asha.central.enabled?=true -bluetooth.profile.a2dp.source.enabled?=true -bluetooth.profile.avrcp.target.enabled?=true -bluetooth.profile.bas.client.enabled?=true -bluetooth.profile.gatt.enabled?=true -bluetooth.profile.hfp.ag.enabled?=true -bluetooth.profile.hid.device.enabled?=true -bluetooth.profile.hid.host.enabled?=true -bluetooth.profile.map.server.enabled?=true -bluetooth.profile.opp.enabled?=true -bluetooth.profile.pan.nap.enabled?=true -bluetooth.profile.pan.panu.enabled?=true -bluetooth.profile.pbap.server.enabled?=true -bluetooth.profile.sap.server.enabled?=true diff --git a/vendor.prop b/vendor.prop index eb44be7..2f53aa6 100644 --- a/vendor.prop +++ b/vendor.prop @@ -114,6 +114,21 @@ vendor.audio_hal.period_size=192 vendor.voice.path.for.pcm.voip=true # Bluetooth +bluetooth.device.class_of_device=90,2,12 +bluetooth.profile.asha.central.enabled?=true +bluetooth.profile.a2dp.source.enabled?=true +bluetooth.profile.avrcp.target.enabled?=true +bluetooth.profile.bas.client.enabled?=true +bluetooth.profile.gatt.enabled?=true +bluetooth.profile.hfp.ag.enabled?=true +bluetooth.profile.hid.device.enabled?=true +bluetooth.profile.hid.host.enabled?=true +bluetooth.profile.map.server.enabled?=true +bluetooth.profile.opp.enabled?=true +bluetooth.profile.pan.nap.enabled?=true +bluetooth.profile.pan.panu.enabled?=true +bluetooth.profile.pbap.server.enabled?=true +bluetooth.profile.sap.server.enabled?=true persist.bluetooth.a2dp_offload.cap=sbc-aac-aptx-aptxhd-ldac-lhdc persist.bluetooth.a2dp_offload.disabled=false persist.vendor.bt.aac_frm_ctl.enabled=true