From b2fa0cabc18c29b6150556d76e006118a7e78e03 Mon Sep 17 00:00:00 2001 From: Kweku Adams Date: Tue, 27 Apr 2021 17:09:22 -0700 Subject: [PATCH] Note that user engagement replenishes EJ quota. Make sure developers are aware that user interaction will replenish EJ quota so they are less concerned about running out of quota for valid use cases. Bug: 171305774 Test: N/A Change-Id: Iec231522dbc7fe83c65956b59ca3e4fbda072b97 --- .../jobscheduler/framework/java/android/app/job/JobInfo.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/apex/jobscheduler/framework/java/android/app/job/JobInfo.java b/apex/jobscheduler/framework/java/android/app/job/JobInfo.java index 57293856a9ad4..17682a5b655a0 100644 --- a/apex/jobscheduler/framework/java/android/app/job/JobInfo.java +++ b/apex/jobscheduler/framework/java/android/app/job/JobInfo.java @@ -1513,6 +1513,11 @@ public class JobInfo implements Parcelable { * available quota (and the job will not be successfully scheduled). * *

+ * Expedited job quota will replenish over time and as the user interacts with the app, + * so you should not have to worry about running out of quota because of processing from + * frequent user engagement. + * + *

* Expedited jobs may only set network, storage-not-low, and persistence constraints. * No other constraints are allowed. *