Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 36ccc900 authored by alexbianchi's avatar alexbianchi Committed by Alex Bianchi
Browse files

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
parent aa4bae78
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