From 780a0cfe0ae278a5656f3cc03e701af39ef0ce48 Mon Sep 17 00:00:00 2001 From: Spandan Das Date: Thu, 27 Jun 2024 02:33:36 +0000 Subject: [PATCH] Install dexpreopt artifacts of SpeedApps in system_other The dexpropt'd files for Speed apps are currently installed next to the .apk file. This CL modifies the installation path of these dexpreopt artifacts to /system_other. Bug: 349083274 Test: for cf_x86_64_phone-trunk_staging-userdebug, verified that SystemUIGoogle.odex appears in installed-files-system-other.txt and _not_ installed-files-system-ext.txt Test: In device boot logs, found the following match Successfully loaded /data/dalvik-cache/arm64/system_ext@priv-app@SystemUIGoogle@SystemUIGoogle.apk@classes.dex with executable: 0 Change-Id: I5dd6ea7c1291a568ffdc2f4f23aaee4f806b1998 --- dexpreopt/dexpreopt.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dexpreopt/dexpreopt.go b/dexpreopt/dexpreopt.go index d44cf7ea3..201515f51 100644 --- a/dexpreopt/dexpreopt.go +++ b/dexpreopt/dexpreopt.go @@ -527,7 +527,7 @@ func OdexOnSystemOtherByName(name string, dexLocation string, global *GlobalConf return false } - if contains(global.SpeedApps, name) || contains(global.SystemServerApps, name) { + if contains(global.SystemServerApps, name) { return false }