sm6150-common: Move BT profiles props to vendor
* Makes it GSI compatible Change-Id: I8f7caf241d508af59c16482e6185c42f23f8a460
This commit is contained in:
parent
442e1a5049
commit
2773427200
@ -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
|
||||
|
||||
|
25
product.prop
25
product.prop
@ -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
|
15
vendor.prop
15
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
|
||||
|
Loading…
Reference in New Issue
Block a user