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
This commit is contained in:
Patty Huang 2022-09-27 17:58:53 +08:00 committed by TreeHugger Robot
parent 3e50915d85
commit 48a8251b5a

View file

@ -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