From 186a8eed3d5ae08533dd1344fcd826573ebabacd Mon Sep 17 00:00:00 2001 From: gilliu Date: Wed, 6 Sep 2023 10:16:24 +0000 Subject: [PATCH] display: tk4: add display property 1. ro.surface_flinger.set_idle_timer_ms=1500 2. ro.surface_flinger.ignore_hdr_camera_layers=true Bug: 286064218 Test: check the HDR brightness Change-Id: Icc07eb4c0f50a102f45fa7020dafda7426bf30f7 --- device-tokay.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/device-tokay.mk b/device-tokay.mk index 9bbc6102..768bb8db 100644 --- a/device-tokay.mk +++ b/device-tokay.mk @@ -41,6 +41,11 @@ $(call soong_config_set,lyric,camera_hardware,tokay) $(call soong_config_set,lyric,tuning_product,tokay) $(call soong_config_set,google3a_config,target_device,tokay) +# display +DEVICE_PACKAGE_OVERLAYS += device/google/caimito/tokay/overlay +PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.set_idle_timer_ms=1500 +PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.ignore_hdr_camera_layers=true + # display color data PRODUCT_COPY_FILES += \ device/google/caimito/tokay/panel_config_google-tk4b_cal0.pb:$(TARGET_COPY_OUT_VENDOR)/etc/panel_config_google-tk4b_cal0.pb