MiuiCamera: Move Camera Extensions to system framework & add bootjar

This commit is contained in:
johnmart19
2025-06-07 02:44:37 +03:00
parent 69f6c7862e
commit 1825648867
3 changed files with 10 additions and 10 deletions

View File

@@ -820,6 +820,14 @@ android_app_import {
privileged: true, privileged: true,
} }
dex_import {
name: "camerax-vendor-extensions",
owner: "xiaomi",
jars: [
"proprietary/system/framework/camerax-vendor-extensions.jar",
],
}
dex_import { dex_import {
name: "vendor.xiaomi.hardware.misys-V1.0-java", name: "vendor.xiaomi.hardware.misys-V1.0-java",
owner: "xiaomi", owner: "xiaomi",
@@ -852,15 +860,6 @@ dex_import {
], ],
} }
dex_import {
name: "camerax-vendor-extensions",
owner: "xiaomi",
jars: [
"proprietary/system_ext/framework/camerax-vendor-extensions.jar",
],
system_ext_specific: true,
}
prebuilt_etc_xml { prebuilt_etc_xml {
name: "vendor.xiaomi.hardware.misys@1.0.xml", name: "vendor.xiaomi.hardware.misys@1.0.xml",
owner: "xiaomi", owner: "xiaomi",

View File

@@ -68,11 +68,11 @@ PRODUCT_PACKAGES += \
vendor.xiaomi.hardware.misys@3.0 \ vendor.xiaomi.hardware.misys@3.0 \
vendor.xiaomi.hardware.misys@4.0 \ vendor.xiaomi.hardware.misys@4.0 \
MiuiCamera \ MiuiCamera \
camerax-vendor-extensions \
vendor.xiaomi.hardware.misys-V1.0-java \ vendor.xiaomi.hardware.misys-V1.0-java \
vendor.xiaomi.hardware.misys-V2.0-java \ vendor.xiaomi.hardware.misys-V2.0-java \
vendor.xiaomi.hardware.misys-V4.0-java \ vendor.xiaomi.hardware.misys-V4.0-java \
vendor.xiaomi.hardware.misys.V3_0 \ vendor.xiaomi.hardware.misys.V3_0 \
camerax-vendor-extensions \
vendor.xiaomi.hardware.misys@1.0.xml \ vendor.xiaomi.hardware.misys@1.0.xml \
vendor.xiaomi.hardware.misys@2.0.xml \ vendor.xiaomi.hardware.misys@2.0.xml \
vendor.xiaomi.hardware.misys@3.0.xml \ vendor.xiaomi.hardware.misys@3.0.xml \
@@ -84,6 +84,7 @@ PRODUCT_PACKAGES += \
vendor.xiaomi.hardware.misys@4.0-service vendor.xiaomi.hardware.misys@4.0-service
PRODUCT_BOOT_JARS += \ PRODUCT_BOOT_JARS += \
camerax-vendor-extensions \
vendor.xiaomi.hardware.misys-V1.0-java \ vendor.xiaomi.hardware.misys-V1.0-java \
vendor.xiaomi.hardware.misys-V2.0-java \ vendor.xiaomi.hardware.misys-V2.0-java \
vendor.xiaomi.hardware.misys-V4.0-java \ vendor.xiaomi.hardware.misys-V4.0-java \