From f1ba9569e37c21f74dd94e123862f97f9fabf634 Mon Sep 17 00:00:00 2001 From: joenchen Date: Sun, 12 Mar 2023 09:04:16 +0000 Subject: [PATCH] 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 --- device-husky.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/device-husky.mk b/device-husky.mk index 1850044..5182cd6 100644 --- a/device-husky.mk +++ b/device-husky.mk @@ -285,5 +285,10 @@ PRODUCT_VENDOR_PROPERTIES += \ PRODUCT_PACKAGES += \ 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 $(call inherit-product, $(SRC_TARGET_DIR)/product/window_extensions.mk)