From 0bad7e54a039d044f85c5537b61656099c599102 Mon Sep 17 00:00:00 2001 From: Nolen Johnson Date: Sat, 28 Oct 2023 15:05:27 -0400 Subject: [PATCH] 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 --- rro_overlays/BluetoothOverlay/res/values/config.xml | 10 +++++----- vendor.prop | 5 ++++- 2 files changed, 9 insertions(+), 6 deletions(-) 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 -- 2.20.1