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

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

Update minimum time window policy.

The new policy rejects jobs with short time windows and functional
constraints (eg. charging, connectivity, etc.). Jobs without functional
constraints and short time windows are allowed, but discouraged in a log
message. The minimum accepted window is also brought down to be in line
with the minimum job period.

The setOverrideDeadline documentation is also updated to make it clear
that the deadline just invalidates other requested (ie. functional)
constraints, but the job may be delayed by factors such as system health
signals.

Bug: 311402873
Test: atest CtsJobSchedulerTestCases:JobInfoTest
Test: atest frameworks/base/services/tests/mockingservicestests/src/com/android/server/job
Test: atest frameworks/base/services/tests/servicestests/src/com/android/server/job
Change-Id: I05def8a34e102c2e9b843d03f303f377fe4d4356
parent c80b0a81
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