Change execution window

This commit is contained in:
Mario Danic 2017-02-21 20:19:55 +01:00 committed by AndyScherzinger
parent ab266f35c5
commit d734e8a4f8
No known key found for this signature in database
GPG key ID: 6CADC7E3523C308B

View file

@ -125,7 +125,7 @@ public class FileAlterationMagicListener implements FileAlterationListener {
new JobRequest.Builder(AutoUploadJob.TAG)
.setExecutionWindow(30_000L, 40_000L)
.setExecutionWindow(30_000L, 80_000L)
.setRequiresCharging(syncedFolder.getChargingOnly())
.setRequiredNetworkType(syncedFolder.getWifiOnly() ? JobRequest.NetworkType.UNMETERED :
JobRequest.NetworkType.ANY)