From 48a8251b5ad6df53597ddc985f716977449c4dd1 Mon Sep 17 00:00:00 2001 From: Patty Huang Date: Tue, 27 Sep 2022 17:58:53 +0800 Subject: [PATCH] Apply the workaround for the CIS->SCO handover Set the system property persist.bluetooth.leaudio.notify.idle.during.call to true to receive the notification when LeAudio group turned idle Bug: 244524929 Bug: 244391698 Test: Switch LE Audio device to HFP device during phone call, and make sure the HFP device can hear sound. Change-Id: I0a0ad4ef97e61deb528c6f8180317bda8b2512be --- bluetooth/qti_default.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bluetooth/qti_default.mk b/bluetooth/qti_default.mk index 8e6b92a..5c33b60 100644 --- a/bluetooth/qti_default.mk +++ b/bluetooth/qti_default.mk @@ -36,6 +36,12 @@ PRODUCT_PRODUCT_PROPERTIES += \ persist.bluetooth.leaudio_offload.disabled=false \ ro.vendor.audio_hal.ble_use_stream_id=true +# Bluetooth LE Audio CIS handover to SCO +# Set the property only if the controller doesn't support CIS and SCO +# simultaneously. More details in b/242908683. +PRODUCT_PRODUCT_PROPERTIES += \ + persist.bluetooth.leaudio.notify.idle.during.call=true + # LE Auido Offload Capabilities setting PRODUCT_COPY_FILES += \ device/google/lynx/bluetooth/lynx/le_audio_codec_capabilities.xml:$(TARGET_COPY_OUT_VENDOR)/etc/le_audio_codec_capabilities.xml