From 09834b568ff3236f04e92553af8714f84b1c40f3 Mon Sep 17 00:00:00 2001 From: Tad Date: Tue, 29 Mar 2022 22:26:18 -0400 Subject: [PATCH] Disable USAP when exec_spawning patchset is enabled It seems to increase memory usage and its interactions are unknown Signed-off-by: Tad --- Scripts/Common/Functions.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/Scripts/Common/Functions.sh b/Scripts/Common/Functions.sh index 9d11e479..57cf6f4a 100644 --- a/Scripts/Common/Functions.sh +++ b/Scripts/Common/Functions.sh @@ -541,6 +541,7 @@ disableEnforceRRO() { awk -i inplace '!/PRODUCT_ENFORCE_RRO_TARGETS .= framework-res/' *.mk &>/dev/null || true; awk -i inplace '!/PRODUCT_ENFORCE_RRO_TARGETS .= \*/' *.mk &>/dev/null || true; sed -i '/PRODUCT_ENFORCE_RRO_TARGETS .= \\/,+1 d' *.mk &>/dev/null || true; + awk -i inplace '!/persist.device_config.runtime_native.usap_pool_enabled=true/' *.prop &>/dev/null || true; cd "$DOS_BUILD_BASE"; } export -f disableEnforceRRO;