Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2d2cd63f authored by Automerger Merge Worker's avatar Automerger Merge Worker Committed by Android (Google) Code Review
Browse files

Merge "Merge "Update setNotification documentation." into udc-dev am: dff58b4f am: 90368ed3"

parents 9afa7735 463f76fe
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -426,11 +426,14 @@ public abstract class JobService extends Service {
     * 10 seconds after {@link #onStartJob(JobParameters)} is called,
     * 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>
     * Note that certain types of jobs
     * (e.g. {@link JobInfo.Builder#setDataTransfer data transfer jobs}) may require the
     * notification to have certain characteristics and their documentation will state
     * any such requirements.
     * (e.g. {@link JobInfo.Builder#setEstimatedNetworkBytes(long, long) data transfer jobs})
     * may require the notification to have certain characteristics
     * and their documentation will state any such requirements.
     *
     * <p>
     * JobScheduler will not remember this notification after the job has finished running,