From fbec5a7125fa17350ef79972432458cfb7652e46 Mon Sep 17 00:00:00 2001 From: sonora Date: Sun, 18 Jan 2015 13:13:20 +0100 Subject: [PATCH] Shorten our menus by one more obsolete item --- OsmAnd/src/net/osmand/plus/activities/MapActivityActions.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/activities/MapActivityActions.java b/OsmAnd/src/net/osmand/plus/activities/MapActivityActions.java index c888428038..7066971a16 100644 --- a/OsmAnd/src/net/osmand/plus/activities/MapActivityActions.java +++ b/OsmAnd/src/net/osmand/plus/activities/MapActivityActions.java @@ -879,7 +879,9 @@ public class MapActivityActions implements DialogProvider { }).reg(); } final OsmAndLocationProvider loc = app.getLocationProvider(); - if (app.getTargetPointsHelper().getPointToNavigate() != null || loc.getLocationSimulation().isRouteAnimating()) { + // Shorten menus by showing this only to control ongoing simulation. Simulation start happens via Waypoint dialog. + //if (app.getTargetPointsHelper().getPointToNavigate() != null || loc.getLocationSimulation().isRouteAnimating()) { + if (app.getTargetPointsHelper().getPointToNavigate() != null && loc.getLocationSimulation().isRouteAnimating()) { if (OsmandPlugin.getEnabledPlugin(OsmandDevelopmentPlugin.class) != null) { optionsMenuHelper .item(loc.getLocationSimulation().isRouteAnimating() ? R.string.animate_route_off : R.string.animate_route)