diff --git a/common.mk b/common.mk index 492dcc22..fc9f914d 100644 --- a/common.mk +++ b/common.mk @@ -391,3 +391,10 @@ PRODUCT_SYSTEM_EXT_PROPERTIES += \ # WiFi Display PRODUCT_PACKAGES += \ libwfdaac_vendor + +# Dex to make OTA go faster (OpenDelta) +PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \ + dalvik.vm.boot-dex2oat-cpu-set=1,2,3,4,5,6,7 \ + dalvik.vm.boot-dex2oat-threads=7 \ + dalvik.vm.image-dex2oat-cpu-set=0,1,2,3,4,5,6,7 \ + dalvik.vm.image-dex2oat-threads=8