Enable LE Audio and A2DP offload by default

* Enable LE Audio Offload
* Enable A2DP offload
* Move the LE Audio setting to bluetooth/qti_default.mk

Bug: 235311609
Test: Manual, make sure the le audio and A2dp offload is enabled by default

Change-Id: I943837579331952ece3b860b08527d0e812766c5
This commit is contained in:
Patty Huang 2022-05-12 17:37:14 +08:00 committed by TreeHugger Robot
parent 5f7f498f44
commit 872990b748
2 changed files with 16 additions and 13 deletions

View file

@ -18,9 +18,24 @@
PRODUCT_PRODUCT_PROPERTIES += \
persist.bluetooth.a2dp_aac.vbr_supported=true \
ro.bluetooth.a2dp_offload.supported=true \
persist.bluetooth.a2dp_offload.disabled=true \
persist.bluetooth.a2dp_offload.disabled=false \
persist.bluetooth.a2dp_offload.cap=sbc-aac-aptx-aptxhd-ldac
# Bluetooth LE Audio
PRODUCT_PRODUCT_PROPERTIES += \
ro.bluetooth.leaudio_switcher.supported=true \
bluetooth.profile.bap.broadcast.source.enabled=true \
bluetooth.profile.bap.broadcast.assist.enabled=true \
bluetooth.profile.bap.unicast.client.enabled=true \
bluetooth.profile.csip.set_coordinator.enabled=true \
bluetooth.profile.hap.client.enabled=true \
bluetooth.profile.mcp.server.enabled=true \
bluetooth.profile.ccp.server.enabled=true \
bluetooth.profile.vcp.controller.enabled=true \
ro.bluetooth.leaudio_offload.supported=true \
persist.bluetooth.leaudio_offload.disabled=false \
ro.vendor.audio_hal.ble_use_stream_id=true
# Bluetooth HAL and Pixel extension
DEVICE_MANIFEST_FILE += \
device/google/lynx/bluetooth/manifest_bluetooth.xml

View file

@ -193,15 +193,3 @@ PRODUCT_VENDOR_PROPERTIES += \
# Limit camera 1080P 60FPS binning mode to not rear main camera
PRODUCT_VENDOR_PROPERTIES += \
persist.vendor.camera.1080P_60fps_binning_except_rear_main=true
# Bluetooth LE Audio
PRODUCT_PRODUCT_PROPERTIES += \
ro.bluetooth.leaudio_switcher.supported=true \
bluetooth.profile.bap.broadcast.source.enabled=true \
bluetooth.profile.bap.broadcast.assist.enabled=true \
bluetooth.profile.bap.unicast.client.enabled=true \
bluetooth.profile.csip.set_coordinator.enabled=true \
bluetooth.profile.hap.client.enabled=true \
bluetooth.profile.mcp.server.enabled=true \
bluetooth.profile.ccp.server.enabled=true \
bluetooth.profile.vcp.controller.enabled=true