RRS: Apply the default config from persist prop

vendor_config plays as another role to control the display config during
the boot time. To change the default configuration of the user selected
mode, we use persist config to store the value.

Bug: 232721840
Test: Boot w/ and w/o user selected configs and check the resolution
Change-Id: I8e6f551817e9b7cb747a7f5351430dd2ac9b4624
This commit is contained in:
Yichi Chen 2022-05-18 03:06:27 +08:00 committed by Midas Chien
parent 2a027324f2
commit 493be28f05

View file

@ -86,7 +86,7 @@ PRODUCT_DEFAULT_PROPERTY_OVERRIDES += vendor.display.brightness.dimming.usage=1
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
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += persist.vendor.display.primary.boot_config=1080x2340@120
# NFC
PRODUCT_COPY_FILES += \