Merge "Note behavior change in documentation." into rvc-dev
This commit is contained in:
@@ -55,6 +55,10 @@ import java.util.Objects;
|
|||||||
* using the {@link JobInfo.Builder}.
|
* using the {@link JobInfo.Builder}.
|
||||||
* The goal here is to provide the scheduler with high-level semantics about the work you want to
|
* The goal here is to provide the scheduler with high-level semantics about the work you want to
|
||||||
* accomplish.
|
* accomplish.
|
||||||
|
* <p> Prior to Android version {@link Build.VERSION_CODES#Q}, you had to specify at least one
|
||||||
|
* constraint on the JobInfo object that you are creating. Otherwise, the builder would throw an
|
||||||
|
* exception when building. From Android version {@link Build.VERSION_CODES#Q} and onwards, it is
|
||||||
|
* valid to schedule jobs with no constraints.
|
||||||
*/
|
*/
|
||||||
public class JobInfo implements Parcelable {
|
public class JobInfo implements Parcelable {
|
||||||
private static String TAG = "JobInfo";
|
private static String TAG = "JobInfo";
|
||||||
|
|||||||
Reference in New Issue
Block a user