Loading apex/jobscheduler/framework/java/android/app/job/JobService.java +6 −3 Original line number Original line Diff line number Diff line Loading @@ -426,11 +426,14 @@ public abstract class JobService extends Service { * 10 seconds after {@link #onStartJob(JobParameters)} is called, * 10 seconds after {@link #onStartJob(JobParameters)} is called, * the system will trigger an ANR and stop this job. * the system will trigger an ANR and stop this job. * * * The notification must provide an accurate description of the work that the job is doing * and, if possible, the state of the work. * * <p> * <p> * Note that certain types of jobs * Note that certain types of jobs * (e.g. {@link JobInfo.Builder#setDataTransfer data transfer jobs}) may require the * (e.g. {@link JobInfo.Builder#setEstimatedNetworkBytes(long, long) data transfer jobs}) * notification to have certain characteristics and their documentation will state * may require the notification to have certain characteristics * any such requirements. * and their documentation will state any such requirements. * * * <p> * <p> * JobScheduler will not remember this notification after the job has finished running, * JobScheduler will not remember this notification after the job has finished running, Loading Loading
apex/jobscheduler/framework/java/android/app/job/JobService.java +6 −3 Original line number Original line Diff line number Diff line Loading @@ -426,11 +426,14 @@ public abstract class JobService extends Service { * 10 seconds after {@link #onStartJob(JobParameters)} is called, * 10 seconds after {@link #onStartJob(JobParameters)} is called, * the system will trigger an ANR and stop this job. * the system will trigger an ANR and stop this job. * * * The notification must provide an accurate description of the work that the job is doing * and, if possible, the state of the work. * * <p> * <p> * Note that certain types of jobs * Note that certain types of jobs * (e.g. {@link JobInfo.Builder#setDataTransfer data transfer jobs}) may require the * (e.g. {@link JobInfo.Builder#setEstimatedNetworkBytes(long, long) data transfer jobs}) * notification to have certain characteristics and their documentation will state * may require the notification to have certain characteristics * any such requirements. * and their documentation will state any such requirements. * * * <p> * <p> * JobScheduler will not remember this notification after the job has finished running, * JobScheduler will not remember this notification after the job has finished running, Loading