Fix small issues

This commit is contained in:
Victor Shcherb 2015-04-25 00:07:28 +02:00
parent 7e227a51da
commit 4d9021f92e
2 changed files with 4 additions and 3 deletions

View file

@ -198,10 +198,8 @@ public class MapActivity extends AccessibleActivity {
System.err.println("OnCreate for MapActivity took " + (System.currentTimeMillis() - tm) + " ms");
}
mapView.refreshMap(true);
if(dashboardOnMap != null) {
dashboardOnMap.updateLocation(true, true, false);
}
}
private void checkAppInitialization() {
if (app.isApplicationInitializing() || DashboardOnMap.staticVisible) {

View file

@ -174,6 +174,9 @@ public class FailSafeFuntions {
routingHelper.setFollowingMode(true);
app.getTargetPointsHelper().updateRouteAndReferesh(true);
app.initVoiceCommandPlayer(ma);
if(ma.getDashboard().isVisible()) {
ma.getDashboard().hideDashboard();
}
}
private static void notRestoreRoutingMode(MapActivity ma, OsmandApplication app){