From ef1ddc69984290e674310517b9f3266a546c89c8 Mon Sep 17 00:00:00 2001 From: Aaron Kling Date: Thu, 18 Aug 2022 23:17:54 -0500 Subject: [PATCH] sm7125-common: 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 Change-Id: Iaa1be881cfe8f8474cef0ba46e1b0a62b59e14be --- common.mk | 1 - configs/audio/audio_policy_configuration.xml | 3 --- 2 files changed, 4 deletions(-) diff --git a/common.mk b/common.mk index 35b203b..d581aba 100644 --- a/common.mk +++ b/common.mk @@ -100,7 +100,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 @@ - - -