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

Commit 2cdfda12 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Partially revert ce543973" into oc-mr1-dev

parents d4aee713 1ba0b8ac
Loading
Loading
Loading
Loading
+0 −13
Original line number Diff line number Diff line
@@ -9804,19 +9804,6 @@ public class PackageManagerService extends IPackageManager.Stub
                    compilerFilter,
                    dexoptFlags));
            if (pkg.isSystemApp()) {
                // Only dexopt shared secondary dex files belonging to system apps to not slow down
                // too much boot after an OTA.
                int secondaryDexoptFlags = dexoptFlags |
                        DexoptOptions.DEXOPT_ONLY_SECONDARY_DEX |
                        DexoptOptions.DEXOPT_ONLY_SHARED_DEX;
                mDexManager.dexoptSecondaryDex(new DexoptOptions(
                        pkg.packageName,
                        compilerFilter,
                        secondaryDexoptFlags));
            }
            // TODO(shubhamajmera): Record secondary dexopt stats.
            switch (primaryDexOptStaus) {
                case PackageDexOptimizer.DEX_OPT_PERFORMED:
                    numberOfPackagesOptimized++;