Merge "Add the compile reason for the forceDexOpt method" into tm-dev am: da15b86d2b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/17888946 Change-Id: I46a1caf8f5090979b2ad6bfdea2c3d1bec950c58 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -432,8 +432,8 @@ final class DexOptHelper {
|
|||||||
// Whoever is calling forceDexOpt wants a compiled package.
|
// Whoever is calling forceDexOpt wants a compiled package.
|
||||||
// Don't use profiles since that may cause compilation to be skipped.
|
// Don't use profiles since that may cause compilation to be skipped.
|
||||||
final int res = performDexOptInternalWithDependenciesLI(pkg, packageState,
|
final int res = performDexOptInternalWithDependenciesLI(pkg, packageState,
|
||||||
new DexoptOptions(packageName,
|
new DexoptOptions(packageName, REASON_CMDLINE,
|
||||||
getDefaultCompilerFilter(),
|
getDefaultCompilerFilter(), null /* splitName */,
|
||||||
DexoptOptions.DEXOPT_FORCE | DexoptOptions.DEXOPT_BOOT_COMPLETE));
|
DexoptOptions.DEXOPT_FORCE | DexoptOptions.DEXOPT_BOOT_COMPLETE));
|
||||||
|
|
||||||
Trace.traceEnd(TRACE_TAG_PACKAGE_MANAGER);
|
Trace.traceEnd(TRACE_TAG_PACKAGE_MANAGER);
|
||||||
|
|||||||
Reference in New Issue
Block a user