From 1ebdeebb071d3eb81d9f613d525814e640b6579c Mon Sep 17 00:00:00 2001 From: Jan Altensen Date: Mon, 10 Feb 2020 22:40:24 +0100 Subject: [PATCH] universal8895: move audio_policy_configuration.xml to device tree Change-Id: I155f6d41495aea66a147ab47c91cb5651cd47993 --- configs/audio/audio_policy_configuration.xml | 148 +++++++++++++++++++ device-common.mk | 1 + proprietary-files.txt | 1 - 3 files changed, 149 insertions(+), 1 deletion(-) create mode 100644 configs/audio/audio_policy_configuration.xml diff --git a/configs/audio/audio_policy_configuration.xml b/configs/audio/audio_policy_configuration.xml new file mode 100644 index 0000000..d37896f --- /dev/null +++ b/configs/audio/audio_policy_configuration.xml @@ -0,0 +1,148 @@ + + + + + + + + + + + Earpiece + Speaker + Built-In Mic + Built-In Back Mic + Voice Call Mic + + + Speaker + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/device-common.mk b/device-common.mk index 453b61d..b506cfa 100644 --- a/device-common.mk +++ b/device-common.mk @@ -44,6 +44,7 @@ PRODUCT_PACKAGES += \ libtinycompress PRODUCT_COPY_FILES += \ + $(LOCAL_PATH)/configs/audio/audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration.xml \ frameworks/av/services/audiopolicy/config/a2dp_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/a2dp_audio_policy_configuration.xml \ frameworks/av/services/audiopolicy/config/r_submix_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/r_submix_audio_policy_configuration.xml \ frameworks/av/services/audiopolicy/config/usb_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/usb_audio_policy_configuration.xml diff --git a/proprietary-files.txt b/proprietary-files.txt index 9b26eeb..4069710 100644 --- a/proprietary-files.txt +++ b/proprietary-files.txt @@ -60,7 +60,6 @@ vendor/etc/audio_effects.xml vendor/etc/audio_effects_common.conf vendor/etc/audio_effects_sec.xml vendor/etc/audio_policy.conf -vendor/etc/audio_policy_configuration.xml vendor/etc/audio_policy_volumes.xml vendor/etc/default_volume_tables.xml -- 2.20.1