From 34ee56fe6fda8fcb2572947a4d2e6bf77e0b8899 Mon Sep 17 00:00:00 2001 From: Ethan Chen Date: Thu, 31 Jul 2014 17:23:50 -0700 Subject: [PATCH] Disable multithreaded dexopt by default * There is still a race condition here. * Power users can re-enable this by setting persist.sys.dalvik.multithread to true Change-Id: I03686bafbac1859695466fcb522bc5436ec82e0d --- config/common.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/common.mk b/config/common.mk index 20138e1f..3ac9f8ab 100644 --- a/config/common.mk +++ b/config/common.mk @@ -66,6 +66,10 @@ PRODUCT_PROPERTY_OVERRIDES += \ PRODUCT_PROPERTY_OVERRIDES += \ ro.build.selinux=1 +# Disable multithreaded dexopt by default +PRODUCT_PROPERTY_OVERRIDES += \ + persist.sys.dalvik.multithread=false + # Thank you, please drive thru! PRODUCT_PROPERTY_OVERRIDES += persist.sys.dun.override=0