From c975e5e7752aeba7e168611207bacc721b6118dd 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 Change-Id: I1c1b656bd17b4da574e41a404289b974030fd2f5 --- 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 220cd8d..993bbfd 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 e0ed46e..b5b2f83 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