Add check for app mode change

This commit is contained in:
Chumva 2019-03-20 17:08:22 +02:00
parent be06fd3a6b
commit 3d156cc033

View file

@ -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();