Chromium Code Reviews| Index: android_webview/java/src/org/chromium/android_webview/crash/CrashReceiverService.java |
| diff --git a/android_webview/java/src/org/chromium/android_webview/crash/CrashReceiverService.java b/android_webview/java/src/org/chromium/android_webview/crash/CrashReceiverService.java |
| index ecd8c0a607c5a08adf8cb70a40801887a1bcc6a1..22b5ee189a69e5e4d4a740b04db298e53cb5f7f3 100644 |
| --- a/android_webview/java/src/org/chromium/android_webview/crash/CrashReceiverService.java |
| +++ b/android_webview/java/src/org/chromium/android_webview/crash/CrashReceiverService.java |
| @@ -107,14 +107,15 @@ public class CrashReceiverService extends Service { |
| private void scheduleNewJob() { |
| JobScheduler jobScheduler = (JobScheduler) getSystemService(Context.JOB_SCHEDULER_SERVICE); |
| JobInfo newJob = new JobInfo |
| - .Builder(MINIDUMP_UPLOADING_JOB_ID /* jobId */, |
| - new ComponentName(this, MinidumpUploadJobService.class)) |
| - .setRequiredNetworkType(JobInfo.NETWORK_TYPE_UNMETERED) |
| - // Minimum delay when a job is retried (a retry will happen when there are minidumps |
| - // left after trying to upload all minidumps - this could e.g. happen if we add more |
| - // minidumps at the same time as uploading old ones). |
| - .setBackoffCriteria(JOB_BACKOFF_TIME_IN_MS, JOB_BACKOFF_POLICY) |
| - .build(); |
| + .Builder(MINIDUMP_UPLOADING_JOB_ID /* jobId */, |
|
Tobias Sargeant
2017/02/28 22:30:11
nit: could you please minimise whitespace changes
Ilya Sherman
2017/02/28 23:50:53
This is "git cl format" output, unfortunately.
|
| + new ComponentName(this, AwMinidumpUploadJobService.class)) |
| + .setRequiredNetworkType(JobInfo.NETWORK_TYPE_UNMETERED) |
| + // Minimum delay when a job is retried (a retry will happen when |
| + // there are minidumps left after trying to upload all minidumps - |
| + // this could e.g. happen if we add more minidumps at the same time |
| + // as uploading old ones). |
| + .setBackoffCriteria(JOB_BACKOFF_TIME_IN_MS, JOB_BACKOFF_POLICY) |
| + .build(); |
| if (jobScheduler.schedule(newJob) == JobScheduler.RESULT_FAILURE) { |
| throw new RuntimeException("couldn't schedule " + newJob); |
| } |