Skip to content
Commit b6722783 authored by Kweku Adams's avatar Kweku Adams
Browse files

Adding buffer time for periodic jobs run near the end of their windows.

If a periodic job finishes close to the end of its window, there's a
chance it could run soon afterwards given its next window starts soon.
Adding a buffer window of 1/6 period to avoid having periodic jobs run
too soon after a successful run.

Bug: 123248627
Test: atest com.android.server.job.JobSchedulerServiceTest
Test: atest CtsJobSchedulerTestCases
Change-Id: I8da2847c9383770a49ef404c0e0f7e88e4c2366f
parent 9192a430
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment