From 9e6d588c934a71ef5937cec0a5e7b7490ac5ab3d Mon Sep 17 00:00:00 2001 From: Shreyas Basarge Date: Tue, 12 Apr 2016 10:59:07 +0100 Subject: [PATCH] Documentation for flex field Add documentation for getFlexMillis in JobInfo. Bug: 27530396 Change-Id: I98319cd8ceb0ecd56ab3000bdd31d8bca1bacc3f --- core/java/android/app/job/JobInfo.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/java/android/app/job/JobInfo.java b/core/java/android/app/job/JobInfo.java index 828ac385b62d..9b4f43ae9feb 100644 --- a/core/java/android/app/job/JobInfo.java +++ b/core/java/android/app/job/JobInfo.java @@ -254,7 +254,8 @@ public class JobInfo implements Parcelable { } /** - * Flex time for this job. Only valid if this is a periodic job. + * Flex time for this job. Only valid if this is a periodic job. The job can + * execute at any time in a window of flex length at the end of the period. */ public long getFlexMillis() { long interval = getIntervalMillis(); -- 2.11.0