From 54e912767a4b1ab2a9115e83e1806b9bbbd1e962 Mon Sep 17 00:00:00 2001 From: Alexander Borsuk Date: Wed, 18 Jan 2023 13:44:21 +0100 Subject: [PATCH] [location] Position is searched again in 30h instead of 8h It should make location dialogs less annoying for those who use OM without GPS Signed-off-by: Alexander Borsuk --- drape_frontend/my_position_controller.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drape_frontend/my_position_controller.cpp b/drape_frontend/my_position_controller.cpp index 094a4b4ed7..207b959bff 100644 --- a/drape_frontend/my_position_controller.cpp +++ b/drape_frontend/my_position_controller.cpp @@ -27,7 +27,7 @@ int const kPositionRoutingOffsetY = 104; double const kMinSpeedThresholdMps = 2.8; // 10 km/h double const kGpsBearingLifetimeSec = 5.0; double const kMaxPendingLocationTimeSec = 60.0; -double const kMaxTimeInBackgroundSec = 60.0 * 60 * 8; // 8 hours +double const kMaxTimeInBackgroundSec = 60.0 * 60 * 30; // 30 hours before starting detecting position again double const kMaxNotFollowRoutingTimeSec = 20.0; double const kMaxUpdateLocationInvervalSec = 30.0; double const kMaxBlockAutoZoomTimeSec = 10.0;