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

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

Reduce job readiness checking.

Don't check the full list of jobs whenever we evaluate a single job's
state. Every job that's not ready would be checked anyway.

Note, however, that not checking the list if a job would not be ready
means we will not defer an already set alarm, so we will have more
alarms go off even though we know the job would not be ready at that
time.

Bug: 138469672
Bug: 176987520
Test: atest CtsJobSchedulerTestCases
Test: atest FrameworksMockingServicesTests:JobSchedulerServiceTes
Test: atest FrameworksMockingServicesTests:TimeControllerTest
Change-Id: I41d17ae1df10484f79deb48b197afadbd9cee693
parent 7e8ae00d
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