Fix small issues
This commit is contained in:
parent
7e227a51da
commit
4d9021f92e
2 changed files with 4 additions and 3 deletions
|
@ -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) {
|
||||
|
|
|
@ -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){
|
||||
|
|
Loading…
Reference in a new issue