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,9 +705,11 @@ public class MapRouteInfoMenu implements IRouteInformationListener, CardListener
|
|||
routingHelper.setAppMode(next);
|
||||
app.initVoiceCommandPlayer(mapActivity, next, true, null, false, false);
|
||||
routingHelper.recalculateRouteDueToSettingsChange();
|
||||
if (setRouteCalculationInProgress(true) || mode != next) {
|
||||
updateMenu();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void updateApplicationModes() {
|
||||
MapActivity mapActivity = getMapActivity();
|
||||
|
|
Loading…
Reference in a new issue