From: Sal Savage Date: Wed, 27 Apr 2022 20:30:38 +0000 (-0700) Subject: g12-common: Use the ?= operator so BT properties can be overridden X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=adc43bed01023f308651186698f3109b363c48dd;p=GitHub%2FLineageOS%2FG12%2Fandroid_device_amlogic_g12-common.git g12-common: Use the ?= operator so BT properties can be overridden System properties set with the "=" operator cannot be overriden. This device is used elsewhere in the system and some of the properties need to be overridden. The "?=" operator will use the assigned value if no other values are assigned elsewhere, allowing for overrides. Bug: 230638462 Test: adb shell getprop | grep bluetooth Change-Id: Id6cd7901555edafef141bbc1bbd5e06dc3a54d0c --- diff --git a/vendor.prop b/vendor.prop index ab96fd4..4caad75 100644 --- a/vendor.prop +++ b/vendor.prop @@ -1,15 +1,15 @@ ## Bluetooth bluetooth.core.gap.le.privacy.enabled=false -bluetooth.profile.asha.central.enabled=true -bluetooth.profile.a2dp.source.enabled=true -bluetooth.profile.avrcp.target.enabled=true -bluetooth.profile.gatt.enabled=true -bluetooth.profile.hfp.ag.enabled=true -bluetooth.profile.hid.host.enabled=true -bluetooth.profile.mcp.server.enabled=true -bluetooth.profile.opp.enabled=true -bluetooth.profile.pan.nap.enabled=true -bluetooth.profile.pan.panu.enabled=true +bluetooth.profile.a2dp.source.enabled?=true +bluetooth.profile.asha.central.enabled?=true +bluetooth.profile.avrcp.target.enabled?=true +bluetooth.profile.gatt.enabled?=true +bluetooth.profile.hfp.ag.enabled?=true +bluetooth.profile.hid.host.enabled?=true +bluetooth.profile.mcp.server.enabled?=true +bluetooth.profile.opp.enabled?=true +bluetooth.profile.pan.nap.enabled?=true +bluetooth.profile.pan.panu.enabled?=true bluetooth.core.gap.le.conn.min.limit=6 persist.vendor.bluetooth.prefferedrole=master wc_transport.soc_initialized=0