Merge "Don't automatically decline tracking jobs with met initial delays" into pi-dev

This commit is contained in:
Chris Tate
2018-04-24 19:25:23 +00:00
committed by Android (Google) Code Review

View File

@@ -90,7 +90,10 @@ public final class TimeController extends StateController {
return;
} else if (job.hasTimingDelayConstraint() && evaluateTimingDelayConstraint(job,
nowElapsedMillis)) {
return;
if (!job.hasDeadlineConstraint()) {
// If it doesn't have a deadline, we'll never have to touch it again.
return;
}
}
boolean isInsert = false;