Loading services/core/java/com/android/server/pm/BackgroundDexOptService.java +8 −1 Original line number Diff line number Diff line Loading @@ -472,10 +472,17 @@ public class BackgroundDexOptService extends JobService { if (params.getJobId() == JOB_POST_BOOT_UPDATE) { mAbortPostBootUpdate.set(true); // Do not reschedule. // TODO: We should reschedule if we didn't process all apps, yet. return false; } else { mAbortIdleOptimization.set(true); // Reschedule the run. // TODO: Should this be dependent on the stop reason? return true; } return false; } private void notifyPinService(ArraySet<String> updatedPackages) { Loading Loading
services/core/java/com/android/server/pm/BackgroundDexOptService.java +8 −1 Original line number Diff line number Diff line Loading @@ -472,10 +472,17 @@ public class BackgroundDexOptService extends JobService { if (params.getJobId() == JOB_POST_BOOT_UPDATE) { mAbortPostBootUpdate.set(true); // Do not reschedule. // TODO: We should reschedule if we didn't process all apps, yet. return false; } else { mAbortIdleOptimization.set(true); // Reschedule the run. // TODO: Should this be dependent on the stop reason? return true; } return false; } private void notifyPinService(ArraySet<String> updatedPackages) { Loading