From ab81309e1829f7b044bc773d7195f9d11fcf2277 Mon Sep 17 00:00:00 2001 From: PavelRatushny Date: Fri, 29 Dec 2017 13:47:42 +0200 Subject: [PATCH] Display map type in context menu --- .../mapcontextmenu/controllers/MapDataMenuController.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/OsmAnd/src/net/osmand/plus/mapcontextmenu/controllers/MapDataMenuController.java b/OsmAnd/src/net/osmand/plus/mapcontextmenu/controllers/MapDataMenuController.java index da0c1b09a6..6028f14f38 100644 --- a/OsmAnd/src/net/osmand/plus/mapcontextmenu/controllers/MapDataMenuController.java +++ b/OsmAnd/src/net/osmand/plus/mapcontextmenu/controllers/MapDataMenuController.java @@ -253,6 +253,10 @@ public class MapDataMenuController extends MenuController { } else { res = getMapActivity().getString(R.string.shared_string_map); } + DownloadActivityType downloadActivityType = getDownloadActivityType(); + if (downloadActivityType != null) { + res += ", " + downloadActivityType.getString(getMapActivity()); + } if (getMenuType() == MenuType.STANDARD) { res += "\n"; }