diff --git a/OsmAnd/src/net/osmand/plus/OsmandPlugin.java b/OsmAnd/src/net/osmand/plus/OsmandPlugin.java index aadeed5671..cbfcf38793 100644 --- a/OsmAnd/src/net/osmand/plus/OsmandPlugin.java +++ b/OsmAnd/src/net/osmand/plus/OsmandPlugin.java @@ -273,7 +273,7 @@ public abstract class OsmandPlugin { allPlugins.clear(); - enableHiddenPlugin(app, enabledPlugins, new MapillaryPlugin(app)); + allPlugins.add(new MapillaryPlugin(app)); enableHiddenPlugin(app, enabledPlugins, new WikipediaPlugin(app)); allPlugins.add(new OsmandRasterMapsPlugin(app)); diff --git a/OsmAnd/src/net/osmand/plus/mapillary/MapillaryPlugin.java b/OsmAnd/src/net/osmand/plus/mapillary/MapillaryPlugin.java index 770f973592..98e9624a5f 100644 --- a/OsmAnd/src/net/osmand/plus/mapillary/MapillaryPlugin.java +++ b/OsmAnd/src/net/osmand/plus/mapillary/MapillaryPlugin.java @@ -62,11 +62,6 @@ public class MapillaryPlugin extends OsmandPlugin { settings = app.getSettings(); } - @Override - public boolean isVisible() { - return false; - } - @Override public int getLogoResourceId() { return R.drawable.ic_action_mapillary; diff --git a/OsmAnd/src/net/osmand/plus/openplacereviews/OpenPlaceReviewsPlugin.java b/OsmAnd/src/net/osmand/plus/openplacereviews/OpenPlaceReviewsPlugin.java index abf4d23b0e..7fa74b3b37 100644 --- a/OsmAnd/src/net/osmand/plus/openplacereviews/OpenPlaceReviewsPlugin.java +++ b/OsmAnd/src/net/osmand/plus/openplacereviews/OpenPlaceReviewsPlugin.java @@ -2,8 +2,6 @@ package net.osmand.plus.openplacereviews; import android.graphics.drawable.Drawable; -import androidx.annotation.Nullable; - import net.osmand.AndroidNetworkUtils; import net.osmand.PlatformUtil; import net.osmand.data.Amenity; @@ -25,6 +23,7 @@ import java.util.ArrayList; import java.util.Collections; import java.util.Iterator; import java.util.List; +import java.util.Map; public class OpenPlaceReviewsPlugin extends OsmandPlugin { @@ -85,7 +84,7 @@ public class OpenPlaceReviewsPlugin extends OsmandPlugin { } @Override - protected List getImageCards(@Nullable GetImageCardsListener listener) { + protected List getImageCards(Map params, Map additionalParams, GetImageCardsListener listener) { List imageCards = new ArrayList<>(); if (mapActivity != null) { Object object = mapActivity.getMapLayers().getContextMenuLayer().getSelectedObject();