diff --git a/Android.bp b/Android.bp index ae24d7e..89b9f98 100644 --- a/Android.bp +++ b/Android.bp @@ -488,6 +488,13 @@ dex_import { jars: ["proprietary/system/framework/vendor.xiaomi.hardware.misys.V3_0.jar"], } +dex_import { + name: "camerax-vendor-extensions", + owner: "xiaomi", + jars: ["proprietary/system_ext/framework/camerax-vendor-extensions.jar"], + system_ext_specific: true, +} + prebuilt_etc_xml { name: "vendor.xiaomi.hardware.misys@1.0.xml", owner: "xiaomi", diff --git a/camera-vendor.mk b/camera-vendor.mk index 707bdbe..de4ec47 100644 --- a/camera-vendor.mk +++ b/camera-vendor.mk @@ -69,6 +69,7 @@ PRODUCT_PACKAGES += \ vendor.xiaomi.hardware.misys-V2.0-java \ vendor.xiaomi.hardware.misys-V4.0-java \ vendor.xiaomi.hardware.misys.V3_0 \ + camerax-vendor-extensions \ vendor.xiaomi.hardware.misys@1.0.xml \ vendor.xiaomi.hardware.misys@2.0.xml \ vendor.xiaomi.hardware.misys@3.0.xml \ diff --git a/proprietary/system_ext/framework/camerax-vendor-extensions.jar b/proprietary/system_ext/framework/camerax-vendor-extensions.jar new file mode 100644 index 0000000..5ce407e Binary files /dev/null and b/proprietary/system_ext/framework/camerax-vendor-extensions.jar differ