diff --git a/BoardConfig.mk b/BoardConfig.mk index b0e2e5c..df5911a 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -42,3 +42,6 @@ TARGET_QTI_VIBRATOR_USE_EFFECT_STREAM := true # Include proprietary files include vendor/xiaomi/haydn/BoardConfigVendor.mk + +# Inherit from proprietary files for Leica Camera +-include vendor/xiaomi/haydn-miuicamera/products/board.mk diff --git a/device.mk b/device.mk index eab5e0b..9312567 100644 --- a/device.mk +++ b/device.mk @@ -47,3 +47,6 @@ PRODUCT_SOONG_NAMESPACES += \ # Call the proprietary setup $(call inherit-product, vendor/xiaomi/haydn/haydn-vendor.mk) + +# Call the Leica Camera setup +$(call inherit-product-if-exists, vendor/xiaomi/haydn-miuicamera/products/miuicamera.mk)