redwood: Move camera override format from reserved to select()

This commit is contained in:
Bruno Martins
2025-05-11 07:27:14 +05:30
committed by thepriyanshujangid
parent c8bfc7333b
commit fe4f4ac894
2 changed files with 2 additions and 1 deletions

View File

@@ -51,7 +51,6 @@ TARGET_NO_BOOTLOADER := true
# Camera
TARGET_CAMERA_SERVICE_EXT_LIB := //$(DEVICE_PATH):libcameraservice_extension.xiaomi_redwood
TARGET_CAMERA_OVERRIDE_FORMAT_FROM_RESERVED := true
TARGET_CAMERA_PACKAGE_NAME := com.android.camera
# Display

View File

@@ -145,6 +145,8 @@ PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.camera.full.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.full.xml \
frameworks/native/data/etc/android.hardware.camera.raw.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.raw.xml
$(call soong_config_set,camera,override_format_from_reserved,true)
# Codec2
PRODUCT_PACKAGES += \
libcodec2_vndk.vendor \