diff options
author | Jeff Sharkey <jsharkey@android.com> | 2016-06-01 15:51:19 -0600 |
---|---|---|
committer | Jeff Sharkey <jsharkey@android.com> | 2016-06-01 15:51:50 -0600 |
commit | 34618b586996dfbfd87a3b7f0d18f26d4d1ebb51 (patch) | |
tree | a2275e1800aebe6b0000c1d86fc11ac65e8e6eed /docs/html/sdk/api_diff/21/changes | |
parent | 6df8a9a89fc87649595926592bf895768c861b68 (diff) |
Skip cancelling jobs with FLAG_WILL_BE_FOREGROUND.
When FLAG_WILL_BE_FOREGROUND is set on a job (such as a download), we
need to treat the job as if it had a foreground service running so
it can continue making forward progress. We already ignore the device
idle state when offering to start the job, so this just avoids the
hiccup of stopping the job only to restart it a minute later.
Bug: 26571724
Change-Id: I348903dd3a7dd7104b0c1bf4310e2a48655d2588
Diffstat (limited to 'docs/html/sdk/api_diff/21/changes')
0 files changed, 0 insertions, 0 deletions