From: Bruno Martins Date: Fri, 27 Oct 2023 12:14:29 +0000 (+0100) Subject: m5: Migrate deprecated BT profile configs into sysprops X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5749af7eae0ea304131730d2c33f98cf15b50baa;p=GitHub%2FLineageOS%2FG12%2Fandroid_device_bananapi_m5.git m5: 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 Advanced Audio Distribution Profile (A2DP) Sink role, Audio/Video Remote Control Profile (AVRCP) Controller role, Hands-Free Profile (HFP) Audio Gateway role, Hands-Free Profile (HFP) Hands-free role, Message Access Profile (MAP) Client role, Object Push Profile (OPP), Personal Area Networking Profile (PAN) PANU role and Phonebook Access Profile (PBAP) client and server roles. All the rest are enabled by default in the common device tree. As for the config "hfp_client_connection_service", Google dropped it since it was only used in HfpClientConnectionServiceTest and blocking the test from running. Change-Id: I6f96862611b7f21b30157188e6373984561342aa --- diff --git a/rro_overlays/BluetoothOverlay/res/values/config.xml b/rro_overlays/BluetoothOverlay/res/values/config.xml index 7df2fca..a3b0980 100644 --- a/rro_overlays/BluetoothOverlay/res/values/config.xml +++ b/rro_overlays/BluetoothOverlay/res/values/config.xml @@ -1,22 +1,7 @@ - - false - false - false - false - false - false - false - - false - false - false - false - false + + + false diff --git a/vendor.prop b/vendor.prop index b30f2f9..3bd7ac1 100644 --- a/vendor.prop +++ b/vendor.prop @@ -1,11 +1,21 @@ # -# Copyright (C) 2021 The LineageOS Project +# Copyright (C) 2021-2023 The LineageOS Project # # SPDX-License-Identifier: Apache-2.0 # ## Bluetooth bluetooth.device.default_name=Banana Pi M5 +bluetooth.profile.a2dp.sink.enabled=false +bluetooth.profile.avrcp.controller.enabled=false +bluetooth.profile.hfp.ag.enabled=false +bluetooth.profile.hfp.hf.enabled=false +bluetooth.profile.map.client.enabled=false +bluetooth.profile.map.server.enabled=true +bluetooth.profile.opp.enabled=false +bluetooth.profile.pan.panu.enabled=false +bluetooth.profile.pbap.client.enabled=false +bluetooth.profile.pbap.server.enabled=false # Dolby ro.vendor.platform.support.dolbyvision=false