Loading app/src/main/java/foundation/e/drive/utils/JobUtils.java +1 −1 Original line number Diff line number Diff line Loading @@ -35,7 +35,7 @@ public abstract class JobUtils { ComponentName jobService = new ComponentName( context, ScannerJob.class ); JobInfo job = new JobInfo.Builder(ScannerJobId, jobService ) .setPeriodic(120000, 30000) //2 minutes and 30 seconds .setPeriodic(1860000, 30000) //31 minutes and 30 seconds .setPersisted(true) .setRequiredNetworkType( JobInfo.NETWORK_TYPE_ANY ) .build(); Loading Loading
app/src/main/java/foundation/e/drive/utils/JobUtils.java +1 −1 Original line number Diff line number Diff line Loading @@ -35,7 +35,7 @@ public abstract class JobUtils { ComponentName jobService = new ComponentName( context, ScannerJob.class ); JobInfo job = new JobInfo.Builder(ScannerJobId, jobService ) .setPeriodic(120000, 30000) //2 minutes and 30 seconds .setPeriodic(1860000, 30000) //31 minutes and 30 seconds .setPersisted(true) .setRequiredNetworkType( JobInfo.NETWORK_TYPE_ANY ) .build(); Loading