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

Commit ee3142cc authored by Jason Monk's avatar Jason Monk
Browse files

Delay index job a little bit

Make sure it doesn't cause jank while launching settings.

Test: existing
Change-Id: I410315469319b2156495f2d8b296fc164c475cb9
Fixes: 78787416
parent 8a9c47e1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -65,7 +65,7 @@ public interface DeviceIndexFeatureProvider {
        context.getSystemService(JobScheduler.class).schedule(
                new JobInfo.Builder(jobId, jobComponent)
                        .setPersisted(true)
                        .setMinimumLatency(1)
                        .setMinimumLatency(1000)
                        .setOverrideDeadline(1)
                        .build());