Apply the workaround for the CIS->SCO handover

Set system property persist.bluetooth.leaudio.notify.idle.during.call
to true to receive the notification when LeAudio group turned idle

Bug: 297312397
Test: Switch LE Audio device to HFP device during phone call, and
ensure the HFP device can hear sound and don't have buzzing sound.

Change-Id: Id89c9325f5158113dd653d2267167d4d0e59c935
This commit is contained in:
Patty Huang 2023-08-24 16:10:27 +08:00
parent a5c805dc74
commit 10fa322cf5
3 changed files with 15 additions and 0 deletions

View file

@ -196,6 +196,11 @@ PRODUCT_PRODUCT_PROPERTIES += \
PRODUCT_COPY_FILES += \
device/google/shusky/bluetooth/le_audio_codec_capabilities.xml:$(TARGET_COPY_OUT_VENDOR)/etc/le_audio_codec_capabilities.xml
# Bluetooth LE Audio CIS handover to SCO
# Set the property only for the controller couldn't support CIS/SCO simultaneously. More detailed in b/242908683.
PRODUCT_PRODUCT_PROPERTIES += \
persist.bluetooth.leaudio.notify.idle.during.call=true
# Support One-Handed mode
PRODUCT_PRODUCT_PROPERTIES += \
ro.support_one_handed_mode=true

View file

@ -161,6 +161,11 @@ PRODUCT_PRODUCT_PROPERTIES += \
PRODUCT_COPY_FILES += \
device/google/shusky/bluetooth/le_audio_codec_capabilities.xml:$(TARGET_COPY_OUT_VENDOR)/etc/le_audio_codec_capabilities.xml
# Bluetooth LE Audio CIS handover to SCO
# Set the property only for the controller couldn't support CIS/SCO simultaneously. More detailed in b/242908683.
PRODUCT_PRODUCT_PROPERTIES += \
persist.bluetooth.leaudio.notify.idle.during.call=true
# Keymaster HAL
#LOCAL_KEYMASTER_PRODUCT_PACKAGE ?= android.hardware.keymaster@4.1-service

View file

@ -187,6 +187,11 @@ PRODUCT_PRODUCT_PROPERTIES += \
PRODUCT_COPY_FILES += \
device/google/shusky/bluetooth/le_audio_codec_capabilities.xml:$(TARGET_COPY_OUT_VENDOR)/etc/le_audio_codec_capabilities.xml
# Bluetooth LE Audio CIS handover to SCO
# Set the property only for the controller couldn't support CIS/SCO simultaneously. More detailed in b/242908683.
PRODUCT_PRODUCT_PROPERTIES += \
persist.bluetooth.leaudio.notify.idle.during.call=true
# Support One-Handed mode
PRODUCT_PRODUCT_PROPERTIES += \
ro.support_one_handed_mode=true