From 0b4dabfabaec4c74f7f853e01d140574e8481bef Mon Sep 17 00:00:00 2001 From: Moeta Yuko Date: Fri, 17 Jan 2025 14:26:27 +0530 Subject: [PATCH] sm6375-coommon: remove OMX * OMX HW video codecs are no longer used after enabling Codec2 * OMX HW audio codecs won't work without QCOM A/V enhancements, which we don't have on Lineage. Change-Id: I65852151c8fb6387add5fc4402ba3f13c97b5f64 --- common.mk | 19 ++++--------------- manifest.xml | 13 ------------- proprietary-files.txt | 23 ----------------------- 3 files changed, 4 insertions(+), 51 deletions(-) diff --git a/common.mk b/common.mk index c886bdc..8aa385a 100644 --- a/common.mk +++ b/common.mk @@ -253,6 +253,10 @@ PRODUCT_PACKAGES += \ android.hardware.keymaster@4.1.vendor # Media +PRODUCT_PACKAGES += \ + libcodec2_hidl@1.0.vendor \ + libcodec2_vndk.vendor + PRODUCT_COPY_FILES += \ $(LOCAL_PATH)/media/init.qti.media.sh:$(TARGET_COPY_OUT_VENDOR)/bin/init.qti.media.sh \ $(LOCAL_PATH)/media/init.qti.media.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.qti.media.rc @@ -290,21 +294,6 @@ PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \ android.hardware.neuralnetworks@1.3.vendor -# OMX -PRODUCT_PACKAGES += \ - libcodec2_hidl@1.0.vendor \ - libcodec2_vndk.vendor \ - libmm-omxcore \ - libOmxAacEnc \ - libOmxAmrEnc \ - libOmxCore \ - libOmxEvrcEnc \ - libOmxG711Enc \ - libOmxQcelp13Enc \ - libstagefrighthw \ - libstagefright_softomx.vendor \ - libstagefright_softomx_plugin.vendor - # Permissions PRODUCT_COPY_FILES += \ frameworks/native/data/etc/android.hardware.audio.pro.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.pro.xml \ diff --git a/manifest.xml b/manifest.xml index a08e6e3..5631413 100644 --- a/manifest.xml +++ b/manifest.xml @@ -60,19 +60,6 @@ @4.1::IKeymasterDevice/default - - android.hardware.media.omx - hwbinder - 1.0 - - IOmx - default - - - IOmxStore - default - - android.hardware.nfc hwbinder diff --git a/proprietary-files.txt b/proprietary-files.txt index 7cc8a6a..799e18a 100644 --- a/proprietary-files.txt +++ b/proprietary-files.txt @@ -542,29 +542,6 @@ vendor/etc/media_holi/video_system_specs.json # OEM vendor/bin/motobox -# OMX -vendor/lib/libOmxAacDec.so -vendor/lib/libOmxAlacDec.so -vendor/lib/libOmxAmrDec.so -vendor/lib/libOmxAmrwbplusDec.so -vendor/lib/libOmxApeDec.so -vendor/lib/libOmxDsdDec.so -vendor/lib/libOmxEvrcDec.so -vendor/lib/libOmxG711Dec.so -vendor/lib/libOmxQcelp13Dec.so -vendor/lib/libOmxVideoDSMode.so -vendor/lib/libOmxWmaDec.so -vendor/lib/libdsd2pcm.so -vendor/lib64/libOmxAacDec.so -vendor/lib64/libOmxAlacDec.so -vendor/lib64/libOmxAmrDec.so -vendor/lib64/libOmxAmrwbplusDec.so -vendor/lib64/libOmxApeDec.so -vendor/lib64/libOmxEvrcDec.so -vendor/lib64/libOmxG711Dec.so -vendor/lib64/libOmxQcelp13Dec.so -vendor/lib64/libOmxWmaDec.so - # Peripheral manager vendor/bin/pm-proxy vendor/bin/pm-service