Delete legacy code
This commit is contained in:
parent
08457dc1f7
commit
9186a57f13
1 changed files with 1 additions and 3 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue