From 42f20ed93f023955c5c6f5752960a66ed2030ad6 Mon Sep 17 00:00:00 2001 From: Nazar-Kutz Date: Thu, 7 May 2020 16:38:27 +0300 Subject: [PATCH] remove unused code --- OsmAnd/src/net/osmand/plus/OsmandSettings.java | 3 --- OsmAnd/src/net/osmand/plus/dialogs/ConfigureMapMenu.java | 8 -------- 2 files changed, 11 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/OsmandSettings.java b/OsmAnd/src/net/osmand/plus/OsmandSettings.java index 980c824e75..b70668e34d 100644 --- a/OsmAnd/src/net/osmand/plus/OsmandSettings.java +++ b/OsmAnd/src/net/osmand/plus/OsmandSettings.java @@ -3795,9 +3795,6 @@ public class OsmandSettings { public final OsmandPreference SHOW_TRAVEL_UPDATE_CARD = new BooleanPreference("show_travel_update_card", true).makeGlobal(); public final OsmandPreference SHOW_TRAVEL_NEEDED_MAPS_CARD = new BooleanPreference("show_travel_needed_maps_card", true).makeGlobal(); - public final ListStringPreference TRANSPORT_DEFAULT_SETTINGS = - (ListStringPreference) new ListStringPreference("transport_default_settings", "transportStops", ",").makeProfile(); - public final ListStringPreference DISPLAYED_TRANSPORT_SETTINGS = (ListStringPreference) new ListStringPreference("displayed_transport_settings", null, ",").makeProfile(); diff --git a/OsmAnd/src/net/osmand/plus/dialogs/ConfigureMapMenu.java b/OsmAnd/src/net/osmand/plus/dialogs/ConfigureMapMenu.java index 67f992b96f..a699646e06 100644 --- a/OsmAnd/src/net/osmand/plus/dialogs/ConfigureMapMenu.java +++ b/OsmAnd/src/net/osmand/plus/dialogs/ConfigureMapMenu.java @@ -407,14 +407,6 @@ public class ConfigureMapMenu { .setItemDeleteAction(makeDeleteAction(settings.SHOW_POI_LABEL)) .setListener(l).createItem()); - /* - ContextMenuItem item = createProperties(customRules, null, R.string.rendering_category_transport, R.drawable.ic_action_bus_dark, - "transport", settings.TRANSPORT_DEFAULT_SETTINGS, adapter, activity, false); - if (item != null) { - adapter.addItem(item); - } - */ - selected = TransportLinesMenu.isShowLines(app); adapter.addItem(new ContextMenuItem.ItemBuilder() .setId(TRANSPORT_ID)