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

Commit 9a0cc6a6 authored by Jiakai Zhang's avatar Jiakai Zhang Committed by Gerrit Code Review
Browse files

Merge "Add a comment to OtaDexoptService." into main

parents a595a54e 7a0ef14f
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line Diff line number Diff line
@@ -159,6 +159,9 @@ public class OtaDexoptService extends IOtaDexopt.Stub {
            if (pkgSetting.getPkg().isCoreApp()) {
            if (pkgSetting.getPkg().isCoreApp()) {
                throw new IllegalStateException("Found a core app that's not important");
                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,
            mDexoptCommands.addAll(generatePackageDexopts(pkgSetting.getPkg(), pkgSetting,
                    PackageManagerService.REASON_FIRST_BOOT));
                    PackageManagerService.REASON_FIRST_BOOT));
        }
        }