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

Commit d382be9b authored by Brian Carlstrom's avatar Brian Carlstrom
Browse files

Fix backwards arguments to performDexOpt

Bug: 16696554
Change-Id: I302f8edc8243d3537afd564599cc798708124dbe
parent 3f70141e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -75,7 +75,7 @@ public class BackgroundDexOptService extends JobService {
                        schedule(BackgroundDexOptService.this);
                        return;
                    }
                    pm.performDexOpt(pkg, null /* instruction set */, false);
                    pm.performDexOpt(pkg, null /* instruction set */, true);
                }
                // ran to completion, so we abandon our timeslice and do not reschedule
                jobFinished(jobParams, false);
+1 −1
Original line number Diff line number Diff line
@@ -4512,7 +4512,7 @@ public class PackageManagerService extends IPackageManager.Stub {
    @Override
    public boolean performDexOptIfNeeded(String packageName, String instructionSet) {
        return performDexOpt(packageName, instructionSet, true);
        return performDexOpt(packageName, instructionSet, false);
    }
    private static String getPrimaryInstructionSet(ApplicationInfo info) {