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

Commit c705fc05 authored by Kweku Adams's avatar Kweku Adams Committed by Android (Google) Code Review
Browse files

Merge "Update time window message." into main

parents 957495fe 30965fed
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -2354,9 +2354,9 @@ public class JobInfo implements Parcelable {
                if (maxExecutionDelayMillis - windowStart < MIN_ALLOWED_TIME_WINDOW_MILLIS) {
                    if (enforceMinimumTimeWindows
                            && Flags.enforceMinimumTimeWindows()) {
                        throw new IllegalArgumentException("Jobs with a deadline and"
                                + " functional constraints cannot have a time window less than "
                                + MIN_ALLOWED_TIME_WINDOW_MILLIS + " ms."
                        throw new IllegalArgumentException("Time window too short. Constraints"
                                + " unlikely to be satisfied. Increase deadline to a reasonable"
                                + " duration."
                                + " Job '" + service.flattenToShortString() + "#" + jobId + "'"
                                + " has delay=" + windowStart
                                + ", deadline=" + maxExecutionDelayMillis);