From 809d0d74ff04386e9c87caba918102d8f5981095 Mon Sep 17 00:00:00 2001 From: Himanshu Rawat Date: Mon, 12 Dec 2022 09:25:43 +0000 Subject: [PATCH] Disable unsupported BT profiles PBAP server, MAP server and SAP server roles are not supported on the TangorPro Bug: 262203491 Test: adb shell getprop bluetooth.profile.map.server.enabled; adb shell getprop bluetooth.profile.pbap.server.enabled; adb shell getprop bluetooth.profile.sap.server.enabled Change-Id: I90d965ea77d015077bad844a8d377254c4e2a886 --- bluetooth/syna_default.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bluetooth/syna_default.mk b/bluetooth/syna_default.mk index 8854aa0..fe3c67d 100644 --- a/bluetooth/syna_default.mk +++ b/bluetooth/syna_default.mk @@ -31,6 +31,12 @@ PRODUCT_PROPERTY_OVERRIDES += \ PRODUCT_PRODUCT_PROPERTIES += \ persist.bluetooth.firmware.selection="BTFW.hcd" +# Disable MAP, PBAP and SAP profiles +PRODUCT_PRODUCT_PROPERTIES += \ + bluetooth.profile.map.server.enabled=false \ + bluetooth.profile.pbap.server.enabled=false \ + bluetooth.profile.sap.server.enabled=false \ + BLUETOOTH_UART_PORT = /dev/ttySAC18 # Inject soong bluetooth configurations