From 6c534781001be854f155ed3377c1a1994907681b Mon Sep 17 00:00:00 2001 From: joenchen Date: Tue, 12 Sep 2023 01:52:33 +0000 Subject: [PATCH] RRS: add the property for default resolution for RRS assign default resolution as high resolution Test: Boot w/ and w/o user selected configs and check the resolution Bug: 299603039 Change-Id: If0b03d7765871f6d5a41668c3ce6d7247bb51328 --- device-caiman.mk | 5 +++++ device-komodo.mk | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/device-caiman.mk b/device-caiman.mk index 76d1137d..0700bfc6 100644 --- a/device-caiman.mk +++ b/device-caiman.mk @@ -224,6 +224,11 @@ PRODUCT_VENDOR_PROPERTIES += \ persist.vendor.udfps.als_feed_forward_supported=true \ persist.vendor.udfps.lhbm_controlled_in_hal_supported=true +# Display RRS default Config +PRODUCT_DEFAULT_PROPERTY_OVERRIDES += persist.vendor.display.primary.boot_config=960x2142@120 +# TODO: b/250788756 - the property will be phased out after HWC loads user-preferred mode +PRODUCT_DEFAULT_PROPERTY_OVERRIDES += vendor.display.preferred_mode=960x2142@120 + # Vibrator HAL ACTUATOR_MODEL := luxshare_ict_081545 PRODUCT_VENDOR_PROPERTIES += \ diff --git a/device-komodo.mk b/device-komodo.mk index 07bb9cb5..3fd0339e 100644 --- a/device-komodo.mk +++ b/device-komodo.mk @@ -40,6 +40,11 @@ $(call soong_config_set,google3a_config,target_device,komodo) # display DEVICE_PACKAGE_OVERLAYS += device/google/caimito/komodo/overlay +# 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 + # Init files PRODUCT_COPY_FILES += \