[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
This commit is contained in:
Yichi Chen 2022-05-14 01:44:10 +08:00 committed by TreeHugger Robot
parent 97125e45f9
commit 5f25a289f7

View file

@ -79,12 +79,15 @@ PRODUCT_COPY_FILES += \
# Display LBE # Display LBE
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += vendor.display.lbe.supported=1 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 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 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 # NFC
PRODUCT_COPY_FILES += \ PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.nfc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.xml \ frameworks/native/data/etc/android.hardware.nfc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.xml \