Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6a323e06 authored by vince-bourgmayer's avatar vince-bourgmayer
Browse files

change flex delay of scheduling scannerJob to remove a warning in logcat

parent 083ab6f8
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -35,7 +35,7 @@ public abstract class JobUtils {
        ComponentName jobService = new ComponentName( context, ScannerJob.class );

        JobInfo job = new JobInfo.Builder(ScannerJobId, jobService )
                .setPeriodic(1860000, 30000) //31 minutes and 30 seconds
                .setPeriodic(1860000, 300000) //31 minutes and 30 seconds
                .setPersisted(true)
                .setRequiredNetworkType( JobInfo.NETWORK_TYPE_ANY )
                .build();