Loading apex/jobscheduler/framework/java/android/app/job/JobService.java +0 −4 Original line number Diff line number Diff line Loading @@ -73,16 +73,12 @@ public abstract class JobService extends Service { * Detach the notification supplied to * {@link #setNotification(JobParameters, int, Notification, int)} when the job ends. * The notification will remain shown even after JobScheduler stops the job. * * @hide */ public static final int JOB_END_NOTIFICATION_POLICY_DETACH = 0; /** * Cancel and remove the notification supplied to * {@link #setNotification(JobParameters, int, Notification, int)} when the job ends. * The notification will be removed from the notification shade. * * @hide */ public static final int JOB_END_NOTIFICATION_POLICY_REMOVE = 1; Loading core/api/current.txt +2 −0 Original line number Diff line number Diff line Loading @@ -8650,6 +8650,8 @@ package android.app.job { method public final void updateEstimatedNetworkBytes(@NonNull android.app.job.JobParameters, @NonNull android.app.job.JobWorkItem, long, long); method public final void updateTransferredNetworkBytes(@NonNull android.app.job.JobParameters, long, long); method public final void updateTransferredNetworkBytes(@NonNull android.app.job.JobParameters, @NonNull android.app.job.JobWorkItem, long, long); field public static final int JOB_END_NOTIFICATION_POLICY_DETACH = 0; // 0x0 field public static final int JOB_END_NOTIFICATION_POLICY_REMOVE = 1; // 0x1 field public static final String PERMISSION_BIND = "android.permission.BIND_JOB_SERVICE"; } Loading
apex/jobscheduler/framework/java/android/app/job/JobService.java +0 −4 Original line number Diff line number Diff line Loading @@ -73,16 +73,12 @@ public abstract class JobService extends Service { * Detach the notification supplied to * {@link #setNotification(JobParameters, int, Notification, int)} when the job ends. * The notification will remain shown even after JobScheduler stops the job. * * @hide */ public static final int JOB_END_NOTIFICATION_POLICY_DETACH = 0; /** * Cancel and remove the notification supplied to * {@link #setNotification(JobParameters, int, Notification, int)} when the job ends. * The notification will be removed from the notification shade. * * @hide */ public static final int JOB_END_NOTIFICATION_POLICY_REMOVE = 1; Loading
core/api/current.txt +2 −0 Original line number Diff line number Diff line Loading @@ -8650,6 +8650,8 @@ package android.app.job { method public final void updateEstimatedNetworkBytes(@NonNull android.app.job.JobParameters, @NonNull android.app.job.JobWorkItem, long, long); method public final void updateTransferredNetworkBytes(@NonNull android.app.job.JobParameters, long, long); method public final void updateTransferredNetworkBytes(@NonNull android.app.job.JobParameters, @NonNull android.app.job.JobWorkItem, long, long); field public static final int JOB_END_NOTIFICATION_POLICY_DETACH = 0; // 0x0 field public static final int JOB_END_NOTIFICATION_POLICY_REMOVE = 1; // 0x1 field public static final String PERMISSION_BIND = "android.permission.BIND_JOB_SERVICE"; }