From c7968c9bbdb56274f9c57ad8a9a008559f093da0 Mon Sep 17 00:00:00 2001 From: ghostrider-reborn Date: Fri, 29 Oct 2021 08:33:16 +0530 Subject: [PATCH] sdm710-common: Speed preopt Google dialer, Settings & SystemUI - Add Google dialer, Settings & SystemUI The default ART setting is quicken: run DEX code verification and optimize some DEX instructions to get better interpreter performance. This commit switches performance critical applications to speed: run DEX code verification and AOT-compile all methods. PRODUCT_DEXPREOPT_SPEED_APPS (New in Android O) List of applications that have been identified as core to the products and which are desirable to compile with the speed compiler filter. For example, persistent apps such as SystemUI get a chance to use profile-guided compilation only at the next reboot, so it may be better for the product to have these apps always AOT-compiled. Signed-off-by: anandhan07 Signed-off-by: onettboots Signed-off-by: firebird11 --- sdm710.mk | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/sdm710.mk b/sdm710.mk index 287b558..0f4d54c 100644 --- a/sdm710.mk +++ b/sdm710.mk @@ -337,8 +337,11 @@ PRODUCT_PACKAGES += \ PRODUCT_COPY_FILES += \ $(LOCAL_PATH)/configs/powerhint.json:$(TARGET_COPY_OUT_VENDOR)/etc/powerhint.json -# Preopt SystemUI -PRODUCT_DEXPREOPT_SPEED_APPS += SystemUI +# Preopt some system apps +PRODUCT_DEXPREOPT_SPEED_APPS += \ + Settings \ + SystemUI \ + GoogleDialer # Protobuf PRODUCT_PACKAGES += \