From 1798d3eedc94ba6389e3187f4e9a4a5261c7ce85 Mon Sep 17 00:00:00 2001 From: Aaron Kling Date: Sun, 6 Nov 2022 23:06:34 +0000 Subject: [PATCH] sm7125: audio: remove references to a2dp module APM would fail to parse the config anyway: E DevicesFactoryHAL: loadAudioInterface couldn't load audio hw module audio.a2dp (No such file or directory) W DevicesFactoryHalHidl: The specified device name is not recognized: "a2dp" E AudioFlinger: loadHwModule() error -22 loading module a2dp W APM_AudioPolicyManager: could not open HW module a2dp --- common.mk | 1 - configs/audio/audio_policy_configuration.xml | 3 --- 2 files changed, 4 deletions(-) diff --git a/common.mk b/common.mk index 282c2d9..e8e7ffc 100644 --- a/common.mk +++ b/common.mk @@ -101,7 +101,6 @@ 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 4186fb8..8b6bf6d 100644 --- a/configs/audio/audio_policy_configuration.xml +++ b/configs/audio/audio_policy_configuration.xml @@ -146,9 +146,6 @@ - - -