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

Commit 1216bf36 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Allow expedited jobs to be persisted."

parents 2d80868d c191c6a8
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -1666,9 +1666,6 @@ public class JobInfo implements Parcelable {
            if (isPeriodic) {
                throw new IllegalArgumentException("An expedited job cannot be periodic");
            }
            if (isPersisted) {
                throw new IllegalArgumentException("An expedited job cannot be persisted");
            }
            if (constraintFlags != 0 || (flags & ~FLAG_EXPEDITED) != 0) {
                throw new IllegalArgumentException(
                        "An expedited job can only have network constraints");