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
This commit is contained in:
Soonil Nagarkar
2021-07-09 10:39:30 -07:00
parent 457feb05d5
commit 2190ef36be

View File

@@ -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