diff options
author | Kweku Adams <kwekua@google.com> | 2021-04-21 08:00:36 -0700 |
---|---|---|
committer | Kweku Adams <kwekua@google.com> | 2021-04-21 16:09:09 -0700 |
commit | f19c7029e239c2236249fe7cd27d0b0a7c4ff941 (patch) | |
tree | 2d7d12d8e4bede9f3404d77a1b5519157f0d19b2 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | e5a10560c8f9d7ec87a4b8e7733b532ab8d64f36 (diff) |
Ensure SyncManager doesn't schedule an EJ with a delay.
Expedited jobs are not allowed to be scheduled with explicit delays set
and callers will crash if they try to do so. SyncManager sets delays in
a variety of cases. Now, we demote an EJ to a regular job if a delay is
set for any reason.
Bug: 178852366
Test: atest ContentResolverTest (all)
Test: atest CtsSyncManagerTest
Test: atest SyncOperationTest
Test: atest SyncManagerTest
Test: atest SyncRequestTest
Change-Id: Ibf9e7b1ce640bdc3b1f3796bbedf24ca79856c26
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions