From 606ad34fb7dd26cb334af7af9eae2b63c5851604 Mon Sep 17 00:00:00 2001 From: Jaroslav Zviezda Date: Tue, 24 Jan 2023 01:59:15 +0800 Subject: [PATCH] LG8n: Enable DM file pre-opting to reduce first boot time Signed-off-by: Shirayuki39 --- device.mk | 3 +++ 1 file changed, 3 insertions(+) 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