From 0b2e0595fbd6c04f9db0ce8a26b76dc9521ecd59 Mon Sep 17 00:00:00 2001 From: Ted Wang Date: Mon, 12 Dec 2022 14:35:58 +0800 Subject: [PATCH] Disable Accelerated BT ON feature for ripcurrent Bug: 262181537 Test: make Change-Id: Ifc109da72052130f225271c87f75e44f9318da41 --- bluetooth/bt_vendor_overlay_ripcurrent.conf | 16 ++++++++++++++++ device-ripcurrent.mk | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 bluetooth/bt_vendor_overlay_ripcurrent.conf diff --git a/bluetooth/bt_vendor_overlay_ripcurrent.conf b/bluetooth/bt_vendor_overlay_ripcurrent.conf new file mode 100644 index 0000000..edf5f27 --- /dev/null +++ b/bluetooth/bt_vendor_overlay_ripcurrent.conf @@ -0,0 +1,16 @@ +# This is BTBCM HAL overlay configuration file. + +# Uart port name +UartPort = /dev/ttySAC18 + +# Sar backOff high resolution support +SarBackOffHighResolution = true + +# Update BQR Event Mask property value +BqrEventMaskValueUpdate = 262238 + +BtA2dpOffloadCap = sbc-aac-aptx-aptxhd-ldac-opus + +BtOpusEnabled = true + +AccelBtDisable = true diff --git a/device-ripcurrent.mk b/device-ripcurrent.mk index e13155a..510a599 100644 --- a/device-ripcurrent.mk +++ b/device-ripcurrent.mk @@ -88,7 +88,7 @@ PRODUCT_COPY_FILES += \ # Bluetooth HAL PRODUCT_COPY_FILES += \ - device/google/shusky/bluetooth/bt_vendor_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth/bt_vendor_overlay.conf + device/google/shusky/bluetooth/bt_vendor_overlay_ripcurrent.conf:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth/bt_vendor_overlay.conf PRODUCT_PROPERTY_OVERRIDES += \ ro.bluetooth.a2dp_offload.supported=true \ persist.bluetooth.a2dp_offload.disabled=false \