avicii: Use speed tuning for performance critical applications

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.

Change-Id: Ib2dc9a55dfb332ba3fb84a13544d564a63f37ad2
This commit is contained in:
Jake Weinstein
2021-11-02 21:50:59 +05:30
committed by Sandeep-FED
parent 2701c019cb
commit 88ac1c66f8

View File

@@ -336,6 +336,11 @@ PRODUCT_PACKAGES += \
android.hardware.power@1.2.vendor \ android.hardware.power@1.2.vendor \
vendor.qti.hardware.perf@2.2.vendor vendor.qti.hardware.perf@2.2.vendor
# Preopt SystemUI
PRODUCT_DEXPREOPT_SPEED_APPS += \
Settings \
SystemUI
# QMI # QMI
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
libjson \ libjson \