Fix route recalculate
This commit is contained in:
parent
11ab262987
commit
9154c23fd6
1 changed files with 2 additions and 1 deletions
|
@ -160,7 +160,8 @@ public class MapActivity extends AccessibleActivity {
|
||||||
createProgressBarForRouting();
|
createProgressBarForRouting();
|
||||||
// This situtation could be when navigation suddenly crashed and after restarting
|
// This situtation could be when navigation suddenly crashed and after restarting
|
||||||
// it tries to continue the last route
|
// it tries to continue the last route
|
||||||
if(settings.FOLLOW_THE_ROUTE.get() && (!app.getRoutingHelper().isRouteCalculated() || !app.getRoutingHelper().isRouteBeingCalculated())){
|
if(settings.FOLLOW_THE_ROUTE.get() && !app.getRoutingHelper().isRouteCalculated() &&
|
||||||
|
!app.getRoutingHelper().isRouteBeingCalculated()){
|
||||||
FailSafeFuntions.restoreRoutingMode(this);
|
FailSafeFuntions.restoreRoutingMode(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue