From: arch-dev Date: Sun, 8 Aug 2021 13:44:21 +0000 (+0200) Subject: exynos9610: Fix audio through Bluetooth during calls X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=173692b1e33e5c8be9cd2001660d903bda206922;p=GitHub%2FLineageOS%2Fandroid_device_motorola_exynos9610-common.git exynos9610: Fix audio through Bluetooth during calls Change-Id: I7c5d018db222f4fd339ab6545d41bae37d62cc75 --- diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index 2f028b0..dcc237d 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -52,7 +52,7 @@ TARGET_2ND_CPU_VARIANT_RUNTIME := cortex-a53 TARGET_USES_64_BIT_BINDER := true ## Bluetooth -BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := hardware/samsung_slsi/libbt/include +BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := $(COMMON_PATH)/bluetooth BOARD_HAVE_BLUETOOTH_SLSI := true ## Boot Image diff --git a/bluetooth/bdroid_buildcfg.h b/bluetooth/bdroid_buildcfg.h new file mode 100644 index 0000000..3d92ab0 --- /dev/null +++ b/bluetooth/bdroid_buildcfg.h @@ -0,0 +1,33 @@ +/* + * Copyright (C) 2021 The LineageOS Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef _BDROID_BUILDCFG_H +#define _BDROID_BUILDCFG_H + +#define BTM_WBS_INCLUDED TRUE /* Enable WBS */ +#define BTIF_HF_WBS_PREFERRED FALSE /* Don't prefer WBS */ + +/* + * Toggles support for vendor specific extensions such as RPA offloading, + * feature discovery, multi-adv etc. + */ +#define BLE_VND_INCLUDED TRUE + +#define BTM_SCO_ENHANCED_SYNC_ENABLED FALSE + +#define BTM_ESCO_TRANSPORT_UNIT_SIZE_PCM16 + +#endif diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml index b956547..302f308 100644 --- a/overlay/frameworks/base/core/res/res/values/config.xml +++ b/overlay/frameworks/base/core/res/res/values/config.xml @@ -242,4 +242,7 @@ true true + + + true