mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2025-05-03 15:04:55 -04:00
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:
parent
1bbb6f9b4e
commit
09834b568f
1 changed files with 1 additions and 0 deletions
|
@ -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 .= framework-res/' *.mk &>/dev/null || true;
|
||||||
awk -i inplace '!/PRODUCT_ENFORCE_RRO_TARGETS .= \*/' *.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;
|
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";
|
cd "$DOS_BUILD_BASE";
|
||||||
}
|
}
|
||||||
export -f disableEnforceRRO;
|
export -f disableEnforceRRO;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue