From 5f25a289f7d0e8ec4f56d4986fca055e5161bd2d Mon Sep 17 00:00:00 2001 From: Yichi Chen Date: Sat, 14 May 2022 01:44:10 +0800 Subject: [PATCH] [RRS] Enable RRS in FHD+ by default The impact of the change only aims to users who have never configed RRS and those who do factory reset themselves. Bug: 232536153 Test: factory reset the device and check RRS setting in FHD+ Test: configure RRS and check the config is stored after rebooting Test: disable smooth display and check the expected refresh rate Change-Id: I01c46ac2566f0b060fcf23a092601f05bbf568cb --- device-cheetah.mk | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/device-cheetah.mk b/device-cheetah.mk index 30636cc..ef4a5d4 100644 --- a/device-cheetah.mk +++ b/device-cheetah.mk @@ -79,12 +79,15 @@ PRODUCT_COPY_FILES += \ # Display LBE PRODUCT_DEFAULT_PROPERTY_OVERRIDES += vendor.display.lbe.supported=1 -#config of display brightness dimming +# config of display brightness dimming PRODUCT_DEFAULT_PROPERTY_OVERRIDES += vendor.display.brightness.dimming.usage=1 -#config of primary display frames to reach LHBM peak brightness +# config of primary display frames to reach LHBM peak brightness PRODUCT_DEFAULT_PROPERTY_OVERRIDES += vendor.primarydisplay.lhbm.frames_to_reach_peak_brightness=2 +# Display RRS default Config +PRODUCT_DEFAULT_PROPERTY_OVERRIDES += vendor.display.primary.default_boot_config=1080x2340@120 + # NFC PRODUCT_COPY_FILES += \ frameworks/native/data/etc/android.hardware.nfc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.xml \