From 9a2b5ec9342d689bbb0217c42c61673fc1a969b7 Mon Sep 17 00:00:00 2001 From: Alexander Sytnyk Date: Tue, 23 Jan 2018 18:47:42 +0200 Subject: [PATCH] Fix #4886 --- OsmAnd/src/net/osmand/plus/mapillary/MapillaryImageCard.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/mapillary/MapillaryImageCard.java b/OsmAnd/src/net/osmand/plus/mapillary/MapillaryImageCard.java index f7528225a7..0e23225a18 100644 --- a/OsmAnd/src/net/osmand/plus/mapillary/MapillaryImageCard.java +++ b/OsmAnd/src/net/osmand/plus/mapillary/MapillaryImageCard.java @@ -9,7 +9,6 @@ import net.osmand.plus.activities.MapActivity; import net.osmand.plus.mapcontextmenu.builders.cards.ImageCard; import net.osmand.util.Algorithms; -import org.json.JSONException; import org.json.JSONObject; public class MapillaryImageCard extends ImageCard { @@ -28,7 +27,7 @@ public class MapillaryImageCard extends ImageCard { mapillaryPlugin.updateLayers(getMapActivity().getMapView(), getMapActivity(), true); } } - getMapActivity().getContextMenu().hideMenues(); + getMapActivity().getContextMenu().close(); MapillaryImageDialog.show(getMapActivity(), getKey(), getImageHiresUrl(), getUrl(), getLocation(), getCa(), getMyApplication().getString(R.string.mapillary), null, true); }