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

Commit 1a0eb16c authored by heqiang1008 thundersoft's avatar heqiang1008 thundersoft Committed by Songchun Fan
Browse files

Add the compile reason for the forceDexOpt method.

Change-Id: I4f87b2e4d58ba288b454f4e15768ca84cf807c8c
Merged-In: Ic3cef72627985bb906e87b875c180a7dc32a295f
parent 6e5f312d
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);