From 9b743e5938d7be85ad51b33a65c14c03cc219495 Mon Sep 17 00:00:00 2001 From: Kalesh Singh Date: Mon, 18 Sep 2023 10:26:37 -0700 Subject: [PATCH 1/2] zuma: Set max supported page size to 4096 Temporarily reset the max page size on zuma devices to 4096 to avoid extra gap VMAs in P23 devices for qpr1. Bug: 300942232 Test: readelf -Wl /system/bin/init Change-Id: I1fda0599a21c633292062db1278df0fed50de23e Signed-off-by: Kalesh Singh --- device-common.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/device-common.mk b/device-common.mk index bf738c34..ece4678b 100644 --- a/device-common.mk +++ b/device-common.mk @@ -44,6 +44,9 @@ PRODUCT_PRODUCT_PROPERTIES += \ PRODUCT_PRODUCT_PROPERTIES += \ ro.thermal_warmreset = true +# Set the max page size to 4096 (b/300367402) +PRODUCT_MAX_PAGE_SIZE_SUPPORTED := 4096 + # Indicate that the bootloader supports the MTE developer option switch # (MISC_MEMTAG_MODE_MEMTAG_ONCE), with the exception of _fullmte products that # force enable MTE. From 5d570937bceadb8e8e313dda49275a48e5f42290 Mon Sep 17 00:00:00 2001 From: Wilson Wu Date: Tue, 19 Sep 2023 06:11:05 +0000 Subject: [PATCH 2/2] Disable variable refresh rate when typing on zuma Turn off config_variableRefreshRateTypingSupported on zuma. Bug: 299966467 Test: presubmit Change-Id: I7c58ef2e756553ed11b98b68b846228251942bd2 --- overlay/frameworks/base/core/res/res/values/config.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml index 73ba0830..60563321 100644 --- a/overlay/frameworks/base/core/res/res/values/config.xml +++ b/overlay/frameworks/base/core/res/res/values/config.xml @@ -286,5 +286,5 @@ true - true + false