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

Commit 07fc6c5a authored by narinder Rana's avatar narinder Rana
Browse files

continue whit old code for schedule scanner job

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

        JobInfo job = new JobInfo.Builder(ScannerJobId, jobService )
                .setPeriodic(7200000 , 30000) //31git  minutes and 30 secondes
                .setPeriodic(7200000 , 30000) //2 hr
                .setPersisted(true)
                .setRequiredNetworkType( JobInfo.NETWORK_TYPE_ANY )
                .build();