diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index 7dfab84..18f69f1 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -115,7 +115,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_VENDOR_PROP += $(COMMON_PATH)/vendor.prop diff --git a/product.prop b/product.prop deleted file mode 100644 index 2fe54a0..0000000 --- a/product.prop +++ /dev/null @@ -1,25 +0,0 @@ -# Set the Bluetooth Class of Device -# Service Field: 0x5A -> 90 -# Bit 17: Networking -# Bit 19: Capturing -# Bit 20: Object Transfer -# Bit 22: Telephony -# MAJOR_CLASS: 0x02 -> 2 (Phone) -# MINOR_CLASS: 0x0C -> 12 (Smart Phone) -bluetooth.device.class_of_device=90,2,12 - -# Set supported Bluetooth profiles to enabled -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 54062e5..bf49a7f 100644 --- a/vendor.prop +++ b/vendor.prop @@ -79,6 +79,21 @@ vendor.audio.use.sw.ape.decoder=true vendor.audio.volume.headset.gain.depcal=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 persist.bluetooth.a2dp_offload.disabled=false persist.vendor.bt.aac_frm_ctl.enabled=true