Delete legacy code

This commit is contained in:
Alexander Sytnyk 2018-01-17 19:03:33 +02:00
parent 08457dc1f7
commit 9186a57f13

View file

@ -448,12 +448,10 @@ public abstract class OsmandPlugin {
for (OsmandPlugin plugin : getEnabledPlugins()) {
if (plugin instanceof ParkingPositionPlugin) {
plugin.registerMapContextMenuActions(map, latitude, longitude, adapter, selectedObj);
} else if (plugin instanceof OsmandMonitoringPlugin) {
plugin.registerMapContextMenuActions(map, latitude, longitude, adapter, selectedObj);
}
}
for (OsmandPlugin plugin : getEnabledPlugins()) {
if (!(plugin instanceof ParkingPositionPlugin) && !(plugin instanceof OsmandMonitoringPlugin)) {
if (!(plugin instanceof ParkingPositionPlugin)) {
int itemsCount = adapter.length();
plugin.registerMapContextMenuActions(map, latitude, longitude, adapter, selectedObj);
if (adapter.length() > itemsCount) {