From d13a7e1f5e52c89a8b978faae5ca991572099e73 Mon Sep 17 00:00:00 2001 From: "Xu,Baochu" Date: Fri, 22 Jan 2021 09:40:58 +0800 Subject: [PATCH] Configs:msm8937: Add audio policy file for LAW Add audio policy config file for LAW. Change-Id: Id13e633f7dfba2f4cc88fdf77d1e1040b3301b03 --- ...audio_policy_configuration_sdm429w_law.xml | 328 ++++++++++++++++++ configs/msm8937/msm8937.mk | 5 +- 2 files changed, 332 insertions(+), 1 deletion(-) create mode 100644 configs/msm8937/audio_policy_configuration_sdm429w_law.xml diff --git a/configs/msm8937/audio_policy_configuration_sdm429w_law.xml b/configs/msm8937/audio_policy_configuration_sdm429w_law.xml new file mode 100644 index 00000000..c4a15d0a --- /dev/null +++ b/configs/msm8937/audio_policy_configuration_sdm429w_law.xml @@ -0,0 +1,328 @@ + + + + + + + + + + + + + + + + + Earpiece + Speaker + Telephony Tx + Built-In Mic + Built-In Back Mic + FM Tuner + Telephony Rx + + Speaker + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/configs/msm8937/msm8937.mk b/configs/msm8937/msm8937.mk index 50af63f3..9f8d8f0c 100644 --- a/configs/msm8937/msm8937.mk +++ b/configs/msm8937/msm8937.mk @@ -146,7 +146,10 @@ endif #XML Audio configuration files ifeq ($(USE_XML_AUDIO_POLICY_CONF), 1) - ifeq ($(TARGET_SUPPORTS_WEARABLES), true) + ifeq ($(TARGET_PRODUCT),sdm429w_law) + PRODUCT_COPY_FILES += \ + $(TOPDIR)vendor/qcom/opensource/audio-hal/primary-hal/configs/msm8937/audio_policy_configuration_sdm429w_law.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration.xml + else ifeq ($(TARGET_SUPPORTS_WEARABLES), true) PRODUCT_COPY_FILES += \ $(TOPDIR)vendor/qcom/opensource/audio-hal/primary-hal/configs/msm8937/audio_policy_configuration_sdm429w.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration.xml else ifeq ($(TARGET_USES_AOSP_FOR_AUDIO), true)