From 90420610f084a725c51fca199e473352dbcfea93 Mon Sep 17 00:00:00 2001 From: Tad Date: Wed, 30 Mar 2022 10:46:37 -0400 Subject: [PATCH] Tiny tweak Signed-off-by: Tad --- Scripts/Common/Functions.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Scripts/Common/Functions.sh b/Scripts/Common/Functions.sh index 57cf6f4a..c669a9d2 100644 --- a/Scripts/Common/Functions.sh +++ b/Scripts/Common/Functions.sh @@ -541,7 +541,9 @@ 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; + #TODO: Find a new home for these two awk -i inplace '!/persist.device_config.runtime_native.usap_pool_enabled=true/' *.prop &>/dev/null || true; + awk -i inplace '!/config_pinnerCameraApp/' overlay/frameworks/base/core/res/res/values/config.xml &>/dev/null || true; cd "$DOS_BUILD_BASE"; } export -f disableEnforceRRO;