display/ct3: Set ro.surface_flinger.ignore_hdr_camera_layers

This property prevents display high brightness mode from
being triggered due to HDR layers produced by camera.

Bug: 284856709
Test: can boot
Change-Id: I8ce3adb651473a5ac2f21df2132d7a44c27b413c
This commit is contained in:
derickhong 2023-12-21 17:30:45 +08:00
parent 242d7789a3
commit bf260b59c5

View file

@ -46,6 +46,8 @@ $(call soong_config_set,lyric,camera_hardware,comet)
$(call soong_config_set,lyric,tuning_product,comet) $(call soong_config_set,lyric,tuning_product,comet)
$(call soong_config_set,google3a_config,target_device,comet) $(call soong_config_set,google3a_config,target_device,comet)
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.ignore_hdr_camera_layers=true
# Init files # Init files
PRODUCT_COPY_FILES += \ PRODUCT_COPY_FILES += \
device/google/comet/conf/init.comet.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.comet.rc device/google/comet/conf/init.comet.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.comet.rc