From 133485619e66863ba164870b468cc5ba2e263e9d Mon Sep 17 00:00:00 2001 From: Mashopy Date: Sun, 12 Oct 2025 16:17:50 +0200 Subject: [PATCH] Aerodactyl: Declare the correct HIDL version for C2 service --- Aerodactyl-vendor.mk | 2 +- Android.bp | 4 ++-- .../etc/init/android.hardware.media.c2@1.2-mediatek-64b.rc | 2 -- ...c2_V1_1_default.xml => manifest_media_c2_V1_2_default.xml} | 2 +- 4 files changed, 4 insertions(+), 6 deletions(-) rename proprietary/vendor/etc/vintf/manifest/{manifest_media_c2_V1_1_default.xml => manifest_media_c2_V1_2_default.xml} (90%) diff --git a/Aerodactyl-vendor.mk b/Aerodactyl-vendor.mk index 7e45567..28a657d 100644 --- a/Aerodactyl-vendor.mk +++ b/Aerodactyl-vendor.mk @@ -1334,7 +1334,7 @@ PRODUCT_PACKAGES += \ manifest_apuware_utils.xml \ manifest_cameraprovider.xml \ manifest_hwcomposer.xml \ - manifest_media_c2_V1_1_default.xml \ + manifest_media_c2_V1_2_default.xml \ manifest_mmlpq.xml \ mtkgnss-batching.xml \ vendor.mediatek.hardware.neuropilot.agent@1.0-service.xml \ diff --git a/Android.bp b/Android.bp index 1dccf4c..f264210 100644 --- a/Android.bp +++ b/Android.bp @@ -24533,9 +24533,9 @@ prebuilt_etc_xml { } prebuilt_etc_xml { - name: "manifest_media_c2_V1_1_default.xml", + name: "manifest_media_c2_V1_2_default.xml", owner: "nothing", - src: "proprietary/vendor/etc/vintf/manifest/manifest_media_c2_V1_1_default.xml", + src: "proprietary/vendor/etc/vintf/manifest/manifest_media_c2_V1_2_default.xml", filename_from_src: true, sub_dir: "vintf/manifest", soc_specific: true, diff --git a/proprietary/vendor/etc/init/android.hardware.media.c2@1.2-mediatek-64b.rc b/proprietary/vendor/etc/init/android.hardware.media.c2@1.2-mediatek-64b.rc index baee4dc..c765f7f 100644 --- a/proprietary/vendor/etc/init/android.hardware.media.c2@1.2-mediatek-64b.rc +++ b/proprietary/vendor/etc/init/android.hardware.media.c2@1.2-mediatek-64b.rc @@ -5,5 +5,3 @@ service android-hardware-media-c2-hal-1-2 /vendor/bin/hw/android.hardware.media. ioprio rt 4 task_profiles ProcessCapacityHigh HighPerformance - interface android.hardware.media.c2@1.0::IComponentStore default - interface android.hardware.media.c2@1.1::IComponentStore default diff --git a/proprietary/vendor/etc/vintf/manifest/manifest_media_c2_V1_1_default.xml b/proprietary/vendor/etc/vintf/manifest/manifest_media_c2_V1_2_default.xml similarity index 90% rename from proprietary/vendor/etc/vintf/manifest/manifest_media_c2_V1_1_default.xml rename to proprietary/vendor/etc/vintf/manifest/manifest_media_c2_V1_2_default.xml index bf0d72f..a5e8d87 100644 --- a/proprietary/vendor/etc/vintf/manifest/manifest_media_c2_V1_1_default.xml +++ b/proprietary/vendor/etc/vintf/manifest/manifest_media_c2_V1_2_default.xml @@ -2,7 +2,7 @@ android.hardware.media.c2 hwbinder - 1.1 + 1.2 IComponentStore default