Fix Issue 1795:Routing is aborted at screen rotation
This commit is contained in:
parent
9e1fb46a28
commit
428c2c8cb5
1 changed files with 1 additions and 1 deletions
|
@ -160,7 +160,7 @@ public class MapActivity extends AccessibleActivity {
|
|||
createProgressBarForRouting();
|
||||
// This situtation could be when navigation suddenly crashed and after restarting
|
||||
// it tries to continue the last route
|
||||
if(settings.FOLLOW_THE_ROUTE.get() && !app.getRoutingHelper().isRouteCalculated()){
|
||||
if(settings.FOLLOW_THE_ROUTE.get() && (!app.getRoutingHelper().isRouteCalculated() || !app.getRoutingHelper().isRouteBeingCalculated())){
|
||||
FailSafeFuntions.restoreRoutingMode(this);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue