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
This commit is contained in:
Spandan Das
2024-06-27 02:33:36 +00:00
parent 00c2b86d62
commit 780a0cfe0a

View File

@@ -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
}