Disable USAP when exec_spawning patchset is enabled

It seems to increase memory usage and its interactions are unknown

Signed-off-by: Tad <tad@spotco.us>
This commit is contained in:
Tad 2022-03-29 22:26:18 -04:00
parent 1bbb6f9b4e
commit 09834b568f

View File

@ -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;