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

Commit ecb34651 authored by Andreas Gampe's avatar Andreas Gampe
Browse files

Package Manager: Remove force-compile on boot

With ART commit d1537b569b6, the underlying issue is fixed.

Bug: 27618311
Bug: 27676766
Bug: 27693977
Bug: 27915086
Change-Id: Ib6e85e47daf3d2ceab1e5abe615610790ac6947f
parent ab9ab56e
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
@@ -6971,10 +6971,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 */);
            }
        }
    }