RRS: add the property for default resolution for RRS

Add properties
1. assign default resolution 1008p for RRS
2. HWC is initilized with 1008p to avoid to switch resolution
when boot animation is almost over.

Test: Boot w/ and w/o user selected configs and check the resolution
Bug: 243689199
Change-Id: I6f270e0068397ea2ece72e73b357d6870b4e2944
This commit is contained in:
joenchen 2023-03-12 09:04:16 +00:00 committed by Joen Chen
parent 574acbbe49
commit f1ba9569e3

View file

@ -285,5 +285,10 @@ PRODUCT_VENDOR_PROPERTIES += \
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
SettingsOverlayGE9DP SettingsOverlayGE9DP
# Display RRS default Config
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += persist.vendor.display.primary.boot_config=1008x2244@120
# TODO: b/250788756 - the property will be phased out after HWC loads user-preferred mode
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += vendor.display.preferred_mode=1008x2244@120
# Window Extensions # Window Extensions
$(call inherit-product, $(SRC_TARGET_DIR)/product/window_extensions.mk) $(call inherit-product, $(SRC_TARGET_DIR)/product/window_extensions.mk)