camera: Add support for Xiaomi 13 Pro

* label nuwa blobs on its overlayfs path
 * also use this chance to redo selinux labels
This commit is contained in:
Fabian Leutenegger
2023-12-21 08:23:57 +01:00
parent fb1cfdb646
commit 4b6c5df3bb
5 changed files with 87 additions and 79 deletions
+4 -7
View File
@@ -15,13 +15,10 @@ PRODUCT_COPY_FILES += \
vendor/xiaomi/camera/configs/permissions/privapp-permissions-miuicamera.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/privapp-permissions-miuicamera.xml
# Properties
PRODUCT_SYSTEM_PROPERTIES += \
persist.vendor.camera.privapp.list=org.codeaurora.snapcam,com.android.camera \
ro.com.google.lens.oem_camera_package=com.android.camera \
ro.hardware.camera=xiaomi \
ro.miui.notch=1 \
ro.product.mod_device=fuxi_global \
vendor.camera.aux.packagelist=org.codeaurora.snapcam,com.android.camera
TARGET_SYSTEM_PROP += vendor/xiaomi/camera/configs/properties/system.prop
PRODUCT_COPY_FILES += \
vendor/xiaomi/camera/configs/properties/system_camera_fuxi.prop:$(TARGET_COPY_OUT_SYSTEM)/etc/build_camera_fuxi.prop \
vendor/xiaomi/camera/configs/properties/system_camera_nuwa.prop:$(TARGET_COPY_OUT_SYSTEM)/etc/build_camera_nuwa.prop
# Sepolicy
BOARD_VENDOR_SEPOLICY_DIRS += \