From 0db706b0f98fd72ed2f0324a0265dead95102a16 Mon Sep 17 00:00:00 2001 From: Patty Huang Date: Wed, 1 Mar 2023 11:42:32 +0800 Subject: [PATCH] Enable LE Audio unicast by default on android U Bug: 265225257 Test: LE Audio unicast related services are all enabled by default Change-Id: I9f62654e5a35d2b71cc9084ff09f8236934acdf1 --- device-cheetah.mk | 8 +++++++- device-panther.mk | 8 +++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/device-cheetah.mk b/device-cheetah.mk index 4307d39..b11304c 100644 --- a/device-cheetah.mk +++ b/device-cheetah.mk @@ -193,7 +193,13 @@ endif PRODUCT_PRODUCT_PROPERTIES += \ ro.bluetooth.leaudio_offload.supported=true \ persist.bluetooth.leaudio_offload.disabled=false \ - ro.bluetooth.leaudio_switcher.supported=true + ro.bluetooth.leaudio_switcher.supported=true \ + bluetooth.profile.bap.unicast.client.enabled=true \ + bluetooth.profile.csip.set_coordinator.enabled=true \ + bluetooth.profile.hap.client.enabled=true \ + bluetooth.profile.mcp.server.enabled=true \ + bluetooth.profile.ccp.server.enabled=true \ + bluetooth.profile.vcp.controller.enabled=true \ # Bluetooth LE Audio CIS handover to SCO # Set the property only if the controller doesn't support CIS and SCO diff --git a/device-panther.mk b/device-panther.mk index 5f745e3..5f48c41 100644 --- a/device-panther.mk +++ b/device-panther.mk @@ -165,7 +165,13 @@ PRODUCT_PROPERTY_OVERRIDES += \ PRODUCT_PRODUCT_PROPERTIES += \ ro.bluetooth.leaudio_offload.supported=true \ persist.bluetooth.leaudio_offload.disabled=false \ - ro.bluetooth.leaudio_switcher.supported=true + ro.bluetooth.leaudio_switcher.supported=true \ + bluetooth.profile.bap.unicast.client.enabled=true \ + bluetooth.profile.csip.set_coordinator.enabled=true \ + bluetooth.profile.hap.client.enabled=true \ + bluetooth.profile.mcp.server.enabled=true \ + bluetooth.profile.ccp.server.enabled=true \ + bluetooth.profile.vcp.controller.enabled=true \ # Bluetooth LE Audio CIS handover to SCO # Set the property only if the controller doesn't support CIS and SCO