# # Copyright (C) 2020 The LineageOS Project # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # # Dex PRODUCT_DEXPREOPT_SPEED_APPS += \ MiuiCamera # Permissions PRODUCT_COPY_FILES += \ vendor/xiaomi/sweet-miuicamera/configs/permissions/privapp-permissions-miuicamera.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/privapp-permissions-miuicamera.xml # Shims PRODUCT_PACKAGES += \ libgui_shim_miuicamera # Sysconfig PRODUCT_COPY_FILES += \ vendor/xiaomi/sweet-miuicamera/configs/sysconfig/miuicamera-hiddenapi-package-whitelist.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/sysconfig/miuicamera-hiddenapi-package-whitelist.xml # Props PRODUCT_SYSTEM_PROPERTIES += \ persist.vendor.camera.privapp.list=com.android.camera \ ro.com.google.lens.oem_camera_package=com.android.camera \ vendor.camera.aux.packagelist=com.android.camera $(call inherit-product, vendor/xiaomi/sweet-miuicamera/common/common-vendor.mk)