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

Update maybe-batching logic.

1. Don't re-evaluate state for already running jobs. If the state
   changed, JobSchedulerService would be notified about it.
2. Only send a MSG_STOP_JOB message for jobs that are actually running.
   If the job isn't running, then just remove it from the pending list
   (if applicable).

Bug: 138469672
Bug: 141645789
Test: atest CtsJobSchedulerTestCases
Change-Id: Ia0d9f8845c81fe927193e63a0957f6a3ae0e202a
parent 7efcc4df
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment