[pm] Bug fix compiling secondary dexes from cmd line
Cherry-picks aosp/1990974 BUG: 220991268 Test: manual Change-Id: Ic3cef72627985bb906e87b875c180a7dc32a295f
This commit is contained in:
@@ -460,7 +460,8 @@ final class DexOptHelper {
|
|||||||
| DexoptOptions.DEXOPT_CHECK_FOR_PROFILES_UPDATES
|
| DexoptOptions.DEXOPT_CHECK_FOR_PROFILES_UPDATES
|
||||||
| DexoptOptions.DEXOPT_BOOT_COMPLETE
|
| DexoptOptions.DEXOPT_BOOT_COMPLETE
|
||||||
| (force ? DexoptOptions.DEXOPT_FORCE : 0);
|
| (force ? DexoptOptions.DEXOPT_FORCE : 0);
|
||||||
return performDexOpt(new DexoptOptions(packageName, compilerFilter, flags));
|
return performDexOpt(new DexoptOptions(packageName, REASON_CMDLINE,
|
||||||
|
compilerFilter, null /* splitName */, flags));
|
||||||
}
|
}
|
||||||
|
|
||||||
// Sort apps by importance for dexopt ordering. Important apps are given
|
// Sort apps by importance for dexopt ordering. Important apps are given
|
||||||
|
|||||||
Reference in New Issue
Block a user