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: 244492960
Test: Boot w/ and w/o user selected configs and check the resolution
Change-Id: I8839db59fd0b3e352ddea69e3539a7eaadaa29d2
This commit is contained in:
joenchen 2022-09-07 12:59:12 +00:00 committed by Joen Chen
parent 4264124fdc
commit 81330ea598

View file

@ -281,6 +281,9 @@ PRODUCT_RESTRICT_VENDOR_FILES := false
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \ PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
debug.sf.enable_adpf_cpu_hint=true debug.sf.enable_adpf_cpu_hint=true
# Display RRS default Config
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += persist.vendor.display.primary.boot_config=1440x3120@120
# Bluetooth OPUS codec # Bluetooth OPUS codec
PRODUCT_PRODUCT_PROPERTIES += \ PRODUCT_PRODUCT_PROPERTIES += \
persist.bluetooth.opus.enabled=true persist.bluetooth.opus.enabled=true