From b5d98c0721f452d2d0a2c05f48c5a846f751aead Mon Sep 17 00:00:00 2001 From: kuanyuhuang Date: Thu, 24 Aug 2023 11:12:16 +0000 Subject: [PATCH] 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: 297320657 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: I956b636c850ac3f7eaf053eb1d53d0782cd4a291 --- device-akita.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/device-akita.mk b/device-akita.mk index f7c81e8..79473a9 100644 --- a/device-akita.mk +++ b/device-akita.mk @@ -162,6 +162,12 @@ PRODUCT_SOONG_NAMESPACES += \ PRODUCT_PACKAGES += \ 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 + + # Enable one-handed mode PRODUCT_PRODUCT_PROPERTIES += \ ro.support_one_handed_mode=true