From fa41f8d966ca4d76d0fe125cc40c152686e99761 Mon Sep 17 00:00:00 2001 From: Alexander Sytnyk Date: Mon, 29 Jan 2018 15:13:26 +0200 Subject: [PATCH] Fix #4953 --- .../net/osmand/plus/mapcontextmenu/other/ShareMenuFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/mapcontextmenu/other/ShareMenuFragment.java b/OsmAnd/src/net/osmand/plus/mapcontextmenu/other/ShareMenuFragment.java index 5bf5d96977..bc19c75e1b 100644 --- a/OsmAnd/src/net/osmand/plus/mapcontextmenu/other/ShareMenuFragment.java +++ b/OsmAnd/src/net/osmand/plus/mapcontextmenu/other/ShareMenuFragment.java @@ -126,7 +126,7 @@ public class ShareMenuFragment extends BaseOsmAndFragment implements OnItemClick public void dismissMenu() { menu.getMapActivity().getSupportFragmentManager().popBackStackImmediate(TAG, FragmentManager.POP_BACK_STACK_INCLUSIVE); if (menu.getMapActivity().getContextMenu().isVisible()) { - menu.getMapActivity().getContextMenu().hide(false); + menu.getMapActivity().getContextMenu().close(); } } }