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

Commit 43902cba authored by Andreas Gampe's avatar Andreas Gampe Committed by android-build-merger
Browse files

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

am: 1bd064f0

* commit '1bd064f0':
  Package Manager: Remove force-compile on boot

Change-Id: I5c1caf88b725299105ce9afc31d875a9736a6da3
parents 16842209 1bd064f0
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
@@ -6968,10 +6968,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 */);
            }
        }
    }