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

Commit 0f4b60c3 authored by Vincent Bourgmayer's avatar Vincent Bourgmayer
Browse files

N increase sync delay

parent fc319a4a
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(120000, 30000) //2 minutes and 30 seconds
                .setPeriodic(1860000, 30000) //31 minutes and 30 seconds
                .setPersisted(true)
                .setRequiredNetworkType( JobInfo.NETWORK_TYPE_ANY )
                .build();