2022-04-01 15:08:13 -04:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
#
|
|
|
|
|
2024-01-14 04:16:26 -05:00
|
|
|
# Dex
|
|
|
|
PRODUCT_DEXPREOPT_SPEED_APPS += \
|
|
|
|
MiuiCamera
|
|
|
|
|
2024-04-19 11:56:15 -04:00
|
|
|
# Permissions
|
|
|
|
PRODUCT_COPY_FILES += \
|
2024-04-19 19:29:54 -04:00
|
|
|
vendor/xiaomi/sweet-miuicamera/configs/permissions/privapp-permissions-miuicamera.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/privapp-permissions-miuicamera.xml
|
2024-04-19 11:56:15 -04:00
|
|
|
|
|
|
|
# Sysconfig
|
|
|
|
PRODUCT_COPY_FILES += \
|
2024-04-19 19:29:54 -04:00
|
|
|
vendor/xiaomi/sweet-miuicamera/configs/sysconfig/miuicamera-hiddenapi-package-whitelist.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/sysconfig/miuicamera-hiddenapi-package-whitelist.xml
|
2024-04-19 11:56:15 -04:00
|
|
|
|
|
|
|
# Props
|
|
|
|
PRODUCT_SYSTEM_PROPERTIES += \
|
|
|
|
persist.vendor.camera.privapp.list=com.android.camera \
|
|
|
|
ro.com.google.lens.oem_camera_package=com.android.camera \
|
|
|
|
|
2024-04-19 19:29:54 -04:00
|
|
|
$(call inherit-product, vendor/xiaomi/sweet-miuicamera/common/common-vendor.mk)
|