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
Loading
Please register or sign in to comment