From: Bruno Martins Date: Fri, 27 Oct 2023 12:14:29 +0000 (+0100) Subject: sabrina: Migrate deprecated BT profile configs into sysprops X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f84114c35fecab552bc9f70f2d6a01dd8f006736;p=GitHub%2FLineageOS%2FG12%2Fandroid_device_google_sabrina.git sabrina: Migrate deprecated BT profile configs into sysprops Google moved all these into sysprops except for "profile_supported_hdp" which is obsolete since Android 8.0. This effectivelly disables Hands-Free Profile (HFP) Audio Gateway role, Message Access Profile (MAP) Server role, Object Push Profile (OPP), Personal Area Networking Profile (PAN) PANU role and Phonebook Access Profile (PBAP) server role. Change-Id: I6f96862611b7f21b30157188e6373984561342aa --- diff --git a/rro_overlays/BluetoothOverlay/res/values/config.xml b/rro_overlays/BluetoothOverlay/res/values/config.xml index acd4fcf..646bbb8 100644 --- a/rro_overlays/BluetoothOverlay/res/values/config.xml +++ b/rro_overlays/BluetoothOverlay/res/values/config.xml @@ -1,5 +1,5 @@ - @@ -7,10 +7,4 @@ true false false - false - false - false - false - false - false diff --git a/vendor.prop b/vendor.prop index 422dcf6..3abadf1 100644 --- a/vendor.prop +++ b/vendor.prop @@ -1,11 +1,16 @@ # -# Copyright (C) 2021 The LineageOS Project +# Copyright (C) 2021-2023 The LineageOS Project # # SPDX-License-Identifier: Apache-2.0 # ## Bluetooth bluetooth.device.default_name=Chromecast +bluetooth.profile.hfp.ag.enabled=false +bluetooth.profile.map.server.enabled=false +bluetooth.profile.opp.enabled=false +bluetooth.profile.pan.panu.enabled=false +bluetooth.profile.pbap.server.enabled=false ro.bt.bdaddr_path=/sys/class/bt_addr/value ## Dolby