aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--device.mk3
-rw-r--r--vendor.prop9
2 files changed, 12 insertions, 0 deletions
diff --git a/device.mk b/device.mk
index c9460b4..880bfa5 100644
--- a/device.mk
+++ b/device.mk
@@ -131,6 +131,9 @@ PRODUCT_PACKAGES += \
PRODUCT_AAPT_CONFIG := normal
PRODUCT_AAPT_PREF_CONFIG := xxhdpi
+# Dex
+PRODUCT_DEX_PREOPT_DEFAULT_COMPILER_FILTER := verify
+
# DeviceSettings
PRODUCT_PACKAGES += \
XiaomiParts
diff --git a/vendor.prop b/vendor.prop
index ed8433f..475fba7 100644
--- a/vendor.prop
+++ b/vendor.prop
@@ -152,6 +152,15 @@ ro.soc.model=SM6375
ro.crypto.dm_default_key.options_format.version=2
ro.crypto.volume.metadata.method=dm-default-key
+# Dex2oat
+pm.dexopt.boot=verify
+pm.dexopt.first-boot=verify
+pm.dexopt.install=speed-profile
+dalvik.vm.image-dex2oat-filter=speed
+dalvik.vm.image-dex2oat-threads=8
+dalvik.vm.dex2oat-filter=speed
+dalvik.vm.dex2oat-threads=8
+
# Display
ro.vendor.display.svi=1
vendor.display.svi.config=1