Keep Tracking Jobs Whose Constraints Have Been Dropped
If a job is close to its deadline than FC will stop tracking it. But if the deadline changes then the job could wind up in some FC data structures but not others, and data will not be cleaned up properly when the job is complete. By continuing to track jobs with 0 constraints and only stopping when the job is completed, we can avoid this edge case. Bug:243167593 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: I665b9f07675e8c18f6dcdaf8813794213f95139b
Loading
Please register or sign in to comment