config: Enable IORap app launch prefetching
Commit b73d5516136d1a4de39afd74f564daf70b946889 in build/make (rvc-qpr2)
disabled IORap by default due to a "regression" without mentioning what
the regression is. Considering how it's been working fine for the past 6
months and has demonstrated improvements to app launch time [1], let's
re-enable it here.
[1] https://medium.com/androiddevelopers/improving-app-startup-with-i-o-prefetching-62fbdb9c9020
Signed-off-by: Joey Huab <joey@evolution-x.org>
Signed-off-by: Ayan Mukherjee <mukherjeeayan725@gmail.com>
Change-Id: I87ba4347eba6c0bfbb573fda0f7c43704a6f54e0
diff --git a/config/common.mk b/config/common.mk
index 6b88f1c..9e4bc48 100644
--- a/config/common.mk
+++ b/config/common.mk
@@ -13,6 +13,10 @@
ro.com.google.clientidbase=$(PRODUCT_GMS_CLIENTID_BASE)
endif
+# IORap app launch prefetching using Perfetto traces and madvise
+PRODUCT_PRODUCT_PROPERTIES += \
+ ro.iorapd.enable=true
+
ifeq ($(TARGET_BUILD_VARIANT),eng)
# Disable ADB authentication
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += ro.adb.secure=0