From: Nolen Johnson Date: Sat, 28 Oct 2023 19:05:27 +0000 (-0400) Subject: beast: Migrate deprecated BT profile configs into sysprops X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0bad7e54a039d044f85c5537b61656099c599102;p=GitHub%2FLineageOS%2FG12%2Fandroid_device_google_beast.git beast: 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, Object Push Profile (OPP) 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 0d9c979..2060886 100644 --- a/rro_overlays/BluetoothOverlay/res/values/config.xml +++ b/rro_overlays/BluetoothOverlay/res/values/config.xml @@ -1,8 +1,8 @@ + - false - false - false - false - false false + false diff --git a/vendor.prop b/vendor.prop index 81d0929..6998c84 100644 --- a/vendor.prop +++ b/vendor.prop @@ -1,11 +1,14 @@ # -# Copyright (C) 2022 The LineageOS Project +# Copyright (C) 2022-2023 The LineageOS Project # # SPDX-License-Identifier: Apache-2.0 # ## Bluetooth bluetooth.device.default_name=ADT-2 +bluetooth.profile.hfp.ag.enabled=false +bluetooth.profile.opp.enabled=false +bluetooth.profile.pbap.server.enabled=false persist.bluetooth.rtkcoex=true ro.autoconnectbt.macprefix=00:CD:FF ro.autoconnectbt.btclass=50c