Ensure mm-pp-daemon is disabled

When not in late_start appears to break boot if not available.
Seems to fix oneplus2 and likely ether + others
This commit is contained in:
Tad 2021-05-29 17:29:36 -04:00
parent f89f0cb983
commit 1c9a66f896
6 changed files with 31 additions and 9 deletions

View file

@ -114,7 +114,7 @@ enableDexPreOpt() {
if [ -f BoardConfig.mk ]; then
echo "WITH_DEXPREOPT := true" >> BoardConfig.mk;
echo "WITH_DEXPREOPT_DEBUG_INFO := false" >> BoardConfig.mk;
if [ "$1" != "device/oneplus/oneplus2" ]; then
if true; then
echo "WITH_DEXPREOPT_BOOT_IMG_AND_SYSTEM_SERVER_ONLY := false" >> BoardConfig.mk;
echo "Enabled full dexpreopt for $1";
else