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

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
parent e5a10560
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