From 49c576ae22e7870f52fcba1e2502bba0334a28c6 Mon Sep 17 00:00:00 2001 From: Sal Savage Date: Fri, 17 Mar 2023 12:33:08 -0700 Subject: [PATCH] Use default assignment operator for LE Audio profile properties Since there's no other assignment currently (default value with no assignment is false) and other targets built on top of phones want to override these profile settings, we'll change the assignment operator used for the properties to "?=". This way, others can use "=" to override. Tag: #stability Bug: 274015277 Test: build and flash, observe no more build errors Merged-In: I1c1b656bd17b4da574e41a404289b974030fd2f5 Change-Id: I1c1b656bd17b4da574e41a404289b974030fd2f5 (cherry picked from commit c975e5e7752aeba7e168611207bacc721b6118dd) --- device-cheetah.mk | 12 ++++++------ device-panther.mk | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/device-cheetah.mk b/device-cheetah.mk index da938bd..7088b86 100644 --- a/device-cheetah.mk +++ b/device-cheetah.mk @@ -194,12 +194,12 @@ PRODUCT_PRODUCT_PROPERTIES += \ ro.bluetooth.leaudio_offload.supported=true \ persist.bluetooth.leaudio_offload.disabled=false \ 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.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 5b82952..f3ef1a6 100644 --- a/device-panther.mk +++ b/device-panther.mk @@ -166,12 +166,12 @@ PRODUCT_PRODUCT_PROPERTIES += \ ro.bluetooth.leaudio_offload.supported=true \ persist.bluetooth.leaudio_offload.disabled=false \ 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.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