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

Commit 1bd064f0 authored by Andreas Gampe's avatar Andreas Gampe Committed by Android (Google) Code Review
Browse files

Merge "Package Manager: Remove force-compile on boot" into nyc-dev

parents 50c52c0b ecb34651
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
@@ -6962,10 +6962,11 @@ public class PackageManagerService extends IPackageManager.Stub {
                // If the cache was pruned, any compiled odex files will likely be out of date
                // and would have to be patched (would be SELF_PATCHOAT, which is deprecated).
                // Instead, force the extraction in this case.
                performDexOpt(pkg.packageName, null /* instructionSet */,
                performDexOpt(pkg.packageName,
                        null /* instructionSet */,
                        false /* checkProfiles */,
                        causeFirstBoot ? REASON_FIRST_BOOT : REASON_BOOT,
                         causePrunedCache);
                        false /* force */);
            }
        }
    }