diff options
author | Christopher Tate <ctate@google.com> | 2019-10-09 14:26:52 -0700 |
---|---|---|
committer | Christopher Tate <ctate@google.com> | 2019-10-09 14:43:10 -0700 |
commit | b0da63c20214e4cb292398c7e5300c2cafbd746b (patch) | |
tree | 6605a4247a547d4d1ce215f900620d5cb48e0dc5 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 6594be12c96973cb8343814f0be6c6805b3453c5 (diff) |
Fix job enqueue bug when changing constraints
If a job with pending work had new work enqueued but with a changed set
of constraints (including temporal constraints), the system was
accidentally discarding the new work item, leaving only the
previously-pending ones. Now that's fixed: changing constraints works as
expected, changing the execution criteria for the job, retaining all
pending work, and adding the new work to the end of the queue.
Bug: 141707520
Test: atest CtsJobSchedulerSharedUidTestCases:EnqueueJobWorkTest#testEnqueuedWorkNewConstraints
Change-Id: I92e42049937847922f1fa9a10432ec87676408d0
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions