Bluetooth: Adds more debugging properties

Set vendor properties about SoC logging and firmware snoop to true on
userdebug build, and set to false under user build.

Bug: 229691092
Test: Flash the build to check if there is SoC logging
Change-Id: Idaf490a68fe5fbefb1338f351931553222191137
This commit is contained in:
Cheney Ni 2022-04-15 12:57:36 +00:00 committed by TreeHugger Robot
parent 0a966c52ae
commit 7d4c43f5fc

View File

@ -51,7 +51,18 @@ PRODUCT_PROPERTY_OVERRIDES += \
ro.vendor.bluetooth.emb_wp_mode=false \
ro.vendor.bluetooth.wipower=false
# Bluetooth A2DP offloading
PRODUCT_PROPERTY_OVERRIDES += \
ro.bluetooth.a2dp_offload.supported=true \
persist.bluetooth.a2dp_offload.disabled=true \
persist.bluetooth.a2dp_offload.cap=sbc-aac-aptx-aptxhd-ldac
ro.bluetooth.a2dp_offload.supported=true \
persist.bluetooth.a2dp_offload.disabled=true \
persist.bluetooth.a2dp_offload.cap=sbc-aac-aptx-aptxhd-ldac
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
PRODUCT_PROPERTY_OVERRIDES += \
persist.vendor.service.bdroid.soclog=true \
persist.vendor.service.bdroid.fwsnoop=true
else
PRODUCT_PROPERTY_OVERRIDES += \
persist.vendor.service.bdroid.soclog=false \
persist.vendor.service.bdroid.fwsnoop=false
endif