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

Commit 7a0ef14f authored by Jiakai Zhang's avatar Jiakai Zhang
Browse files

Add a comment to OtaDexoptService.

Bug: 307903002
Change-Id: I0391a2c1d20eac11e1c71bc38d43a1eac1eaec92
Test: N/A
parent a595a54e
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -159,6 +159,9 @@ public class OtaDexoptService extends IOtaDexopt.Stub {
            if (pkgSetting.getPkg().isCoreApp()) {
                throw new IllegalStateException("Found a core app that's not important");
            }
            // Use REASON_FIRST_BOOT to query "pm.dexopt.first-boot" for the compiler filter, but
            // the reason itself won't make it into the actual compiler reason because it will be
            // overridden in otapreopt.cpp.
            mDexoptCommands.addAll(generatePackageDexopts(pkgSetting.getPkg(), pkgSetting,
                    PackageManagerService.REASON_FIRST_BOOT));
        }