+64
−22
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Rescheduled jobs do not have deadlines, leaving Flexibility Controller to determine when all flexible constraints should be dropped by, When jobs are rescheduled the first few times, we want to give them adequate opportunity to execute again. If a job keeps failing then its likely faulty and should be more restricted than normal jobs. Flexibility controller will not use it's fallback deadline for rescheduled jobs and instead scale a deadline based on how many times a job has been rescheduled. Bug: 242316188 Test: atest frameworks/base/services/tests/mockingservicestests/src/com/android/server/job Test: atest frameworks/base/services/tests/servicestests/src/com/android/server/job Test: atest CtsJobSchedulerTestCases Change-Id: I00529bc97606f15d5c9b220ba593f3709b18e2af