Loading apex/jobscheduler/service/java/com/android/server/job/JobSchedulerService.java +7 −0 Original line number Diff line number Diff line Loading @@ -2833,6 +2833,13 @@ public class JobSchedulerService extends com.android.server.SystemService } js.overrideState = (force) ? JobStatus.OVERRIDE_FULL : JobStatus.OVERRIDE_SOFT; // Re-evaluate constraints after the override is set in case one of the overridden // constraints was preventing another constraint from thinking it needed to update. for (int c = mControllers.size() - 1; c >= 0; --c) { mControllers.get(c).reevaluateStateLocked(uid); } if (!js.isConstraintsSatisfied()) { js.overrideState = 0; return JobSchedulerShellCommand.CMD_ERR_CONSTRAINTS; Loading Loading
apex/jobscheduler/service/java/com/android/server/job/JobSchedulerService.java +7 −0 Original line number Diff line number Diff line Loading @@ -2833,6 +2833,13 @@ public class JobSchedulerService extends com.android.server.SystemService } js.overrideState = (force) ? JobStatus.OVERRIDE_FULL : JobStatus.OVERRIDE_SOFT; // Re-evaluate constraints after the override is set in case one of the overridden // constraints was preventing another constraint from thinking it needed to update. for (int c = mControllers.size() - 1; c >= 0; --c) { mControllers.get(c).reevaluateStateLocked(uid); } if (!js.isConstraintsSatisfied()) { js.overrideState = 0; return JobSchedulerShellCommand.CMD_ERR_CONSTRAINTS; Loading