Fix small issues
This commit is contained in:
parent
7e227a51da
commit
4d9021f92e
2 changed files with 4 additions and 3 deletions
|
@ -198,9 +198,7 @@ public class MapActivity extends AccessibleActivity {
|
||||||
System.err.println("OnCreate for MapActivity took " + (System.currentTimeMillis() - tm) + " ms");
|
System.err.println("OnCreate for MapActivity took " + (System.currentTimeMillis() - tm) + " ms");
|
||||||
}
|
}
|
||||||
mapView.refreshMap(true);
|
mapView.refreshMap(true);
|
||||||
if(dashboardOnMap != null) {
|
dashboardOnMap.updateLocation(true, true, false);
|
||||||
dashboardOnMap.updateLocation(true, true, false);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void checkAppInitialization() {
|
private void checkAppInitialization() {
|
||||||
|
|
|
@ -174,6 +174,9 @@ public class FailSafeFuntions {
|
||||||
routingHelper.setFollowingMode(true);
|
routingHelper.setFollowingMode(true);
|
||||||
app.getTargetPointsHelper().updateRouteAndReferesh(true);
|
app.getTargetPointsHelper().updateRouteAndReferesh(true);
|
||||||
app.initVoiceCommandPlayer(ma);
|
app.initVoiceCommandPlayer(ma);
|
||||||
|
if(ma.getDashboard().isVisible()) {
|
||||||
|
ma.getDashboard().hideDashboard();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private static void notRestoreRoutingMode(MapActivity ma, OsmandApplication app){
|
private static void notRestoreRoutingMode(MapActivity ma, OsmandApplication app){
|
||||||
|
|
Loading…
Reference in a new issue