[android] fix: 20 seconds interval for background polling.

This commit is contained in:
Alexander Marchuk 2015-12-03 21:12:59 +03:00 committed by Constantin Shalnev
parent 757513820c
commit 661ef83d74

View file

@ -42,7 +42,7 @@ public enum LocationHelper implements SensorEventListener
public static final String LOCATION_PREDICTOR_PROVIDER = "LocationPredictorProvider";
private static final float DISTANCE_TO_RECREATE_MAGNETIC_FIELD_M = 1000;
private static final long UPDATE_INTERVAL_FOREGROUND = 500;
private static final long UPDATE_INTERVAL_BACKGROUND = 10000;
private static final long UPDATE_INTERVAL_BACKGROUND = 20000;
private static final long STOP_DELAY = 5000;
public interface LocationListener