summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSal Savage <salsavage@google.com>2022-04-27 13:21:56 -0700
committerSal Savage <salsavage@google.com>2022-04-27 13:21:56 -0700
commit033ea2e610d58fbeca6e72a3011318d3bf60a5f9 (patch)
tree859f0467c546208446d566cd75a4808883635845
parentd2370578154fd3333033d140a60636756e250d32 (diff)
downloadgoogle_car-033ea2e610d58fbeca6e72a3011318d3bf60a5f9.tar.gz
Override the default phone BT properties with car
This change disables the overridable profile property values to make the phone car builds behave as a car and not a combination of a phone and a car. Bug: 230638462 Test: adb shell getprop | grep bluetooth Change-Id: Ifa850ff3a552bb5b75f23abc84f61b30156ec8e6
-rw-r--r--common/post_google_car.mk21
1 files changed, 21 insertions, 0 deletions
diff --git a/common/post_google_car.mk b/common/post_google_car.mk
index 1a35545..24df3d4 100644
--- a/common/post_google_car.mk
+++ b/common/post_google_car.mk
@@ -53,3 +53,24 @@ EXCLUDE_BUILD_RAMDUMP_UPLOADER_DEBUG_TOOL := true
PRODUCT_PRODUCT_PROPERTIES += \
persist.rcs.supported=0 \
persist.eab.supported=0
+
+# Explicitly disable support for some Bluetooth profiles included in base phone builds
+PRODUCT_PRODUCT_PROPERTIES += \
+ bluetooth.profile.asha.central.enabled=false \
+ bluetooth.profile.a2dp.source.enabled=false \
+ bluetooth.profile.avrcp.target.enabled=false \
+ bluetooth.profile.bap.broadcast.assist.enabled=false \
+ bluetooth.profile.bap.unicast.client.enabled=false \
+ bluetooth.profile.bas.client.enabled=false \
+ bluetooth.profile.csip.set_coordinator.enabled=false \
+ bluetooth.profile.hap.client.enabled=false \
+ bluetooth.profile.hfp.ag.enabled=false \
+ bluetooth.profile.hid.device.enabled=false \
+ bluetooth.profile.hid.host.enabled=false \
+ bluetooth.profile.map.server.enabled=false \
+ bluetooth.profile.mcp.server.enabled=false \
+ bluetooth.profile.opp.enabled=false \
+ bluetooth.profile.pbap.server.enabled=false \
+ bluetooth.profile.sap.server.enabled=false \
+ bluetooth.profile.ccp.server.enabled=false \
+ bluetooth.profile.vcp.controller.enabled=false