From 2731ff35d23f1e8835f3c31c4b14350aaf05a7e6 Mon Sep 17 00:00:00 2001 From: Denis Date: Tue, 2 Sep 2014 13:38:58 +0300 Subject: [PATCH] Removed exit button from sherpafy --- OsmAnd/src/net/osmand/plus/sherpafy/SherpafyCustomization.java | 2 +- OsmAnd/src/net/osmand/plus/sherpafy/TourViewActivity.java | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/sherpafy/SherpafyCustomization.java b/OsmAnd/src/net/osmand/plus/sherpafy/SherpafyCustomization.java index 5c9661ff0f..39889b8d77 100644 --- a/OsmAnd/src/net/osmand/plus/sherpafy/SherpafyCustomization.java +++ b/OsmAnd/src/net/osmand/plus/sherpafy/SherpafyCustomization.java @@ -519,7 +519,7 @@ public class SherpafyCustomization extends OsmAndAppCustomization { @Override public void prepareOptionsMenu(final MapActivity mapActivity, ContextMenuAdapter adapter) { - filter(adapter, R.string.exit_Button, R.string.menu_layers, + filter(adapter, R.string.menu_layers, R.string.pause_navigation, R.string.continue_navigation, R.string.cancel_navigation, R.string.cancel_route, R.string.clear_destination, R.string.target_points, diff --git a/OsmAnd/src/net/osmand/plus/sherpafy/TourViewActivity.java b/OsmAnd/src/net/osmand/plus/sherpafy/TourViewActivity.java index d2f9fb6c43..c18ee91ff4 100644 --- a/OsmAnd/src/net/osmand/plus/sherpafy/TourViewActivity.java +++ b/OsmAnd/src/net/osmand/plus/sherpafy/TourViewActivity.java @@ -414,7 +414,6 @@ public class TourViewActivity extends SherlockFragmentActivity { public void startTour(final TourInformation tour) { startTourImpl(tour); - } private void startTourImpl(TourInformation tour) {