From 2f4436da12d93f1732b3677cbf769dc0bac36a3b Mon Sep 17 00:00:00 2001 From: Ziyan Date: Thu, 25 Feb 2016 23:32:59 +0100 Subject: Only copy the appropriate audio configs for variants (1/2) Change-Id: I918df1f12f5db742905c73f0993d5460d1c04e01 --- audio/tiny_hw_espresso.xml | 281 ------------------------------------------- audio/tiny_hw_espresso10.xml | 251 -------------------------------------- device.mk | 4 +- espresso-common.mk | 7 -- 4 files changed, 3 insertions(+), 540 deletions(-) delete mode 100644 audio/tiny_hw_espresso.xml delete mode 100644 audio/tiny_hw_espresso10.xml diff --git a/audio/tiny_hw_espresso.xml b/audio/tiny_hw_espresso.xml deleted file mode 100644 index c61edb6..0000000 --- a/audio/tiny_hw_espresso.xml +++ /dev/null @@ -1,281 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/audio/tiny_hw_espresso10.xml b/audio/tiny_hw_espresso10.xml deleted file mode 100644 index 880b13f..0000000 --- a/audio/tiny_hw_espresso10.xml +++ /dev/null @@ -1,251 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/device.mk b/device.mk index e0e4337..e47e5f1 100644 --- a/device.mk +++ b/device.mk @@ -22,7 +22,9 @@ DEVICE_PACKAGE_OVERLAYS += device/samsung/espresso/overlay/aosp # Audio PRODUCT_COPY_FILES += \ - device/samsung/espresso/audio/audio_policy.conf:system/etc/audio_policy.conf + device/samsung/espresso/audio/audio_policy.conf:system/etc/audio_policy.conf \ + device/samsung/espresso/audio/tiny_hw_espressowifi.xml:system/etc/sound/espressowifi \ + device/samsung/espresso/audio/tiny_hw_espresso10wifi.xml:system/etc/sound/espresso10wifi # IR PRODUCT_PACKAGES += \ diff --git a/espresso-common.mk b/espresso-common.mk index ef6fa63..8832725 100644 --- a/espresso-common.mk +++ b/espresso-common.mk @@ -69,13 +69,6 @@ PRODUCT_COPY_FILES += \ frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml:system/etc/media_codecs_google_audio.xml \ frameworks/av/media/libstagefright/data/media_codecs_google_telephony.xml:system/etc/media_codecs_google_telephony.xml -# Audio configs -PRODUCT_COPY_FILES += \ - $(LOCAL_PATH)/audio/tiny_hw_espresso.xml:system/etc/sound/espresso \ - $(LOCAL_PATH)/audio/tiny_hw_espressowifi.xml:system/etc/sound/espressowifi \ - $(LOCAL_PATH)/audio/tiny_hw_espresso10.xml:system/etc/sound/espresso10 \ - $(LOCAL_PATH)/audio/tiny_hw_espresso10wifi.xml:system/etc/sound/espresso10wifi - # Keylayout PRODUCT_COPY_FILES += \ $(LOCAL_PATH)/usr/keychars/espresso-gpio-keypad.kcm:system/usr/keychars/espresso-gpio-keypad.kcm \ -- cgit v1.1