diff --git a/device.mk b/device.mk index 0ff8d66..0581f1a 100644 --- a/device.mk +++ b/device.mk @@ -230,6 +230,9 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/developer_gsi_keys.mk) PRODUCT_COPY_FILES += \ $(LOCAL_PATH)/configs/keylayout/mtk-tpd.kl:$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/mtk-tpd.kl +# Enable DM file pre-opting to reduce first boot time +PRODUCT_DEX_PREOPT_GENERATE_DM_FILES := true + # Keymaster PRODUCT_COPY_FILES += \ frameworks/native/data/etc/android.hardware.keystore.app_attest_key.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.keystore.app_attest_key.xml