GPS: set signal lost threshold to 30s.

This commit is contained in:
Dennis Guse
2022-08-14 20:18:37 +02:00
parent 1ccd2e3c0a
commit 63d1c9ee5e
@@ -23,7 +23,7 @@ class GpsStatus {
private static final String TAG = GpsStatus.class.getSimpleName(); private static final String TAG = GpsStatus.class.getSimpleName();
// The duration that GpsStatus waits from minimal interval to consider GPS lost. // The duration that GpsStatus waits from minimal interval to consider GPS lost.
private static final Duration SIGNAL_LOST_THRESHOLD = Duration.ofSeconds(10); private static final Duration SIGNAL_LOST_THRESHOLD = Duration.ofSeconds(30);
private Distance thresholdHorizontalAccuracy; private Distance thresholdHorizontalAccuracy;
// Threshold for time without points. // Threshold for time without points.