Merge "Fix issue #29058724: Improve JobScheduler API demo" into nyc-dev
am: 61721ee3d7
* commit '61721ee3d7b7d55a0535584449b49143b1c2e039':
Fix issue #29058724: Improve JobScheduler API demo
Change-Id: I3f05621c5e18ca35104ac66f95a96a19c789612d
This commit is contained in:
@@ -640,6 +640,13 @@ public class JobInfo implements Parcelable {
|
||||
* <p>Because because setting this property is not compatible with periodic or
|
||||
* persisted jobs, doing so will throw an {@link java.lang.IllegalArgumentException} when
|
||||
* {@link android.app.job.JobInfo.Builder#build()} is called.</p>
|
||||
*
|
||||
* <p>The following example shows how this feature can be used to monitor for changes
|
||||
* in the photos on a device.</p>
|
||||
*
|
||||
* {@sample development/samples/ApiDemos/src/com/example/android/apis/content/PhotosContentJob.java
|
||||
* job}
|
||||
*
|
||||
* @param uri The content: URI to monitor.
|
||||
*/
|
||||
public Builder addTriggerContentUri(@NonNull TriggerContentUri uri) {
|
||||
|
||||
Reference in New Issue
Block a user