Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1a1ed211 authored by Songchun Fan's avatar Songchun Fan Committed by Gerrit Code Review
Browse files

Merge "Add the compile reason for the forceDexOpt method."

parents 54a348cf 1a0eb16c
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -13257,7 +13257,8 @@ public class PackageManagerService extends IPackageManager.Stub
            // Don't use profiles since that may cause compilation to be skipped.
            final int res = performDexOptInternalWithDependenciesLI(pkg, pkgSetting,
                    new DexoptOptions(packageName,
                            getDefaultCompilerFilter(),
                            REASON_CMDLINE,
                            getDefaultCompilerFilter(), null /* splitName */,
                            DexoptOptions.DEXOPT_FORCE | DexoptOptions.DEXOPT_BOOT_COMPLETE));
            Trace.traceEnd(TRACE_TAG_PACKAGE_MANAGER);