proprietary_vendor_xiaomi_c.../miuicamera.mk

24 lines
1.0 KiB
Makefile

#
# Copyright (C) 2023 Paranoid Android
#
# SPDX-License-Identifier: Apache-2.0
#
# Permissions
PRODUCT_COPY_FILES += \
vendor/xiaomi/camera/configs/permissions/default-permissions-miuicamera.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/default-permissions/default-permissions-miuicamera.xml \
vendor/xiaomi/camera/configs/permissions/miuicamera-hiddenapi-package-whitelist.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/sysconfig/miuicamera-hiddenapi-package-whitelist.xml \
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 \
vendor.camera.aux.packagelist=org.codeaurora.snapcam,com.android.camera
# Sepolicy
BOARD_VENDOR_SEPOLICY_DIRS += \
vendor/xiaomi/camera/sepolicy/vendor
$(call inherit-product, vendor/xiaomi/camera/camera-vendor.mk)