From 56841d05e6035e3c0bafebdd999dd13772d03b02 Mon Sep 17 00:00:00 2001 From: dodyirawan85 Date: Thu, 29 Aug 2024 16:22:59 +0800 Subject: [PATCH] LG8n: Kang smooth display props from xiaomi emerald Signed-off-by: dodyirawan85 Signed-off-by: Shirayuki39 --- BoardConfig.mk | 3 +++ configs/properties/product.prop | 11 +++++++++++ 2 files changed, 14 insertions(+) create mode 100644 configs/properties/product.prop diff --git a/BoardConfig.mk b/BoardConfig.mk index a9fd23d..7113432 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -45,6 +45,9 @@ BOARD_VENDOR_KERNEL_MODULES := $(wildcard $(KERNEL_PATH)/vendor_dlkm/*.ko) # OTA assert TARGET_OTA_ASSERT_DEVICE := LG8n,TECNO-LG8n,lg8n +# Properties +TARGET_PRODUCT_PROP += $(DEVICE_PATH)/configs/properties/product.prop + # Workaround to make lineage's soong generator work TARGET_KERNEL_SOURCE := $(KERNEL_PATH)/kernel-headers diff --git a/configs/properties/product.prop b/configs/properties/product.prop new file mode 100644 index 0000000..cb20c32 --- /dev/null +++ b/configs/properties/product.prop @@ -0,0 +1,11 @@ +# Smooth display +debug.sf.set_idle_timer_ms=600 +ro.surface_flinger.set_idle_timer_ms=600 +ro.surface_flinger.set_touch_timer_ms=600 +ro.surface_flinger.use_content_detection_for_refresh_rate=true +ro.vendor.display.idle_fps=60 +ro.vendor.disable_idle_fps.threshold=328 +ro.vendor.display.is_standard_mode=true +ro.vendor.display.touch.idle.enable=true +ro.vendor.idle_fps=60 +vendor.display.idle_time=600