common: Disable multithreaded dextop on RELEASE and SNAPSHOT builds

This needs some more work before it can be considered stable enough
for use on these builds.

Change-Id: Ic80603cc59623da878875e40de92bda5caef3331
diff --git a/config/common.mk b/config/common.mk
index c97371a..32ec971 100644
--- a/config/common.mk
+++ b/config/common.mk
@@ -329,6 +329,12 @@
 PRODUCT_PROPERTY_OVERRIDES += \
   ro.cm.display.version=$(CM_DISPLAY_VERSION)
 
+# disable multithreaded dextop for RELEASE and SNAPSHOT builds
+ifneq ($(filter RELEASE SNAPSHOT,$(CM_BUILDTYPE)),)
+PRODUCT_PROPERTY_OVERRIDES += \
+  persist.sys.dalvik.multithread=false
+endif
+
 -include $(WORKSPACE)/build_env/image-auto-bits.mk
 
 -include vendor/cyngn/product.mk