From 8c9cfb200368f111c2df50e59d20baf871601944 Mon Sep 17 00:00:00 2001 From: Akash Srivastava Date: Sat, 28 Aug 2021 18:55:42 +0530 Subject: [PATCH] umi: Build sound_trigger.primary.kona from source We are anyhow using CAF's sound_trigger_mixer_paths so lets build blobs from source aswell --- base.mk | 4 ++++ proprietary-files.txt | 2 -- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/base.mk b/base.mk index ee75638a6..b1e5676a3 100644 --- a/base.mk +++ b/base.mk @@ -45,6 +45,7 @@ AUDIO_HAL += libqcompostprocbundle AUDIO_HAL += libhfp AUDIO_HAL += libsndmonitor AUDIO_HAL += libqcomvoiceprocessing +AUDIO_HAL += sound_trigger.primary.kona #AVB AVB += q-gsi.avbpubkey @@ -336,6 +337,9 @@ PRODUCT_COPY_FILES += \ 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 +PRODUCT_COPY_FILES += \ + frameworks/native/data/etc/android.software.midi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.midi.xml + PRODUCT_COPY_FILES += \ frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.accelerometer.xml \ frameworks/native/data/etc/android.hardware.sensor.barometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.barometer.xml \ diff --git a/proprietary-files.txt b/proprietary-files.txt index bb1f8fe7a..431a1159c 100644 --- a/proprietary-files.txt +++ b/proprietary-files.txt @@ -816,7 +816,6 @@ vendor/etc/init/android.hardware.lights-qti.rc -vendor/etc/vintf/manifest/android.hardware.lights-qti.xml # Listen -vendor/lib/hw/sound_trigger.primary.kona.so vendor/lib/libadpcmdec.so vendor/lib/libcapiv2svacnn.so vendor/lib/libcapiv2vop.so @@ -827,7 +826,6 @@ vendor/lib/libgcs.so vendor/lib/liblistensoundmodel2.so vendor/lib/libmulawdec.so vendor/lib/libsmwrapper.so -vendor/lib64/hw/sound_trigger.primary.kona.so vendor/lib64/libcapiv2svacnn.so vendor/lib64/libcapiv2vop.so vendor/lib64/libgcs-calwrapper.so