diff --git a/apex/jobscheduler/framework/java/android/app/job/JobInfo.java b/apex/jobscheduler/framework/java/android/app/job/JobInfo.java index b9052734b65f1..ae8976a2972e2 100644 --- a/apex/jobscheduler/framework/java/android/app/job/JobInfo.java +++ b/apex/jobscheduler/framework/java/android/app/job/JobInfo.java @@ -53,9 +53,8 @@ import java.util.Objects; * Container of data passed to the {@link android.app.job.JobScheduler} fully encapsulating the * parameters required to schedule work against the calling application. These are constructed * using the {@link JobInfo.Builder}. - * You must specify at least one sort of constraint on the JobInfo object that you are creating. * The goal here is to provide the scheduler with high-level semantics about the work you want to - * accomplish. Doing otherwise with throw an exception in your app. + * accomplish. */ public class JobInfo implements Parcelable { private static String TAG = "JobInfo"; @@ -147,7 +146,7 @@ public class JobInfo implements Parcelable { /** * Query the minimum interval allowed for periodic scheduled jobs. Attempting - * to declare a smaller period that this when scheduling a job will result in a + * to declare a smaller period than this when scheduling a job will result in a * job that is still periodic, but will run with this effective period. * * @return The minimum available interval for scheduling periodic jobs, in milliseconds.