From e2f546934b926535ebb9d94d2167a36fedff0d4f Mon Sep 17 00:00:00 2001 From: Ruchit Marathe Date: Fri, 18 Nov 2022 11:05:37 +0530 Subject: [PATCH] Revert "sm7125: audio: remove references to a2dp module" Breaks audio on some bt devices This reverts commit 1d71a10674fee54f79cab35e4cbe8f60b61a0e9f. --- common.mk | 1 + configs/audio/audio_policy_configuration.xml | 3 +++ 2 files changed, 4 insertions(+) diff --git a/common.mk b/common.mk index e8e7ffc..282c2d9 100644 --- a/common.mk +++ b/common.mk @@ -101,6 +101,7 @@ PRODUCT_COPY_FILES += \ $(COMMON_PATH)/configs/audio/sound_trigger_mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_mixer_paths.xml \ $(COMMON_PATH)/configs/audio/sound_trigger_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_platform_info.xml \ frameworks/av/services/audiopolicy/config/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \ + frameworks/av/services/audiopolicy/config/a2dp_in_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/a2dp_in_audio_policy_configuration.xml \ frameworks/av/services/audiopolicy/config/bluetooth_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_audio_policy_configuration.xml \ frameworks/av/services/audiopolicy/config/default_volume_tables.xml:$(TARGET_COPY_OUT_VENDOR)/etc/default_volume_tables.xml \ frameworks/av/services/audiopolicy/config/r_submix_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/r_submix_audio_policy_configuration.xml diff --git a/configs/audio/audio_policy_configuration.xml b/configs/audio/audio_policy_configuration.xml index 8b6bf6d..4186fb8 100644 --- a/configs/audio/audio_policy_configuration.xml +++ b/configs/audio/audio_policy_configuration.xml @@ -146,6 +146,9 @@ + + +