Run PeriodicJobs only if constraints are satisfied

JobScheduler would run periodic jobs when their period
expired irrespective of whether constraints were
satisfied. This behavior is now changed to run periodic
jobs only when its constraints are satisfied.

Bug: 26735826
Change-Id: Iffd3cf7f37f1f1c8ef3a1bf4535d893cd139c158
1 file changed