Remove persistance

Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
Mario Danic 2017-07-30 18:20:56 +02:00 committed by AndyScherzinger
parent 9480c42c72
commit 4d8cb93e42
No known key found for this signature in database
GPG key ID: 6CADC7E3523C308B

View file

@ -304,8 +304,7 @@ public class FilesSyncHelper {
builder.addTriggerContentUri(new JobInfo.TriggerContentUri(MediaStore.
Video.Media.EXTERNAL_CONTENT_URI,
JobInfo.TriggerContentUri.FLAG_NOTIFY_FOR_DESCENDANTS));
builder.setPersisted(true);
builder.setTriggerContentMaxDelay(500);
builder.setTriggerContentMaxDelay(1500);
jobScheduler.schedule(builder.build());
}
}