Add check for app mode change
This commit is contained in:
parent
be06fd3a6b
commit
3d156cc033
1 changed files with 3 additions and 1 deletions
|
@ -705,7 +705,9 @@ public class MapRouteInfoMenu implements IRouteInformationListener, CardListener
|
||||||
routingHelper.setAppMode(next);
|
routingHelper.setAppMode(next);
|
||||||
app.initVoiceCommandPlayer(mapActivity, next, true, null, false, false);
|
app.initVoiceCommandPlayer(mapActivity, next, true, null, false, false);
|
||||||
routingHelper.recalculateRouteDueToSettingsChange();
|
routingHelper.recalculateRouteDueToSettingsChange();
|
||||||
updateMenu();
|
if (setRouteCalculationInProgress(true) || mode != next) {
|
||||||
|
updateMenu();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue