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

Commit 2190ef36 authored by Soonil Nagarkar's avatar Soonil Nagarkar
Browse files

Increase max allowed min update jitter to 30s

Observed some coarse location deliveries (every 10m) that failed due to
being over the max allowed jitter.

Bug: 193245605
Test: presubmits
Change-Id: Ib0bb1c90edd7687fa95d6af7b366eb6d6ca9e3e8
parent 457feb05
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -155,7 +155,7 @@ public class LocationProviderManager extends
    private static final float FASTEST_INTERVAL_JITTER_PERCENTAGE = .10f;

    // max absolute jitter allowed for min update interval evaluation
    private static final int MAX_FASTEST_INTERVAL_JITTER_MS = 5 * 1000;
    private static final int MAX_FASTEST_INTERVAL_JITTER_MS = 30 * 1000;

    // minimum amount of request delay in order to respect the delay, below this value the request
    // will just be scheduled immediately