Display map type in context menu
This commit is contained in:
parent
d98c7c3d37
commit
ab81309e18
1 changed files with 4 additions and 0 deletions
|
@ -253,6 +253,10 @@ public class MapDataMenuController extends MenuController {
|
||||||
} else {
|
} else {
|
||||||
res = getMapActivity().getString(R.string.shared_string_map);
|
res = getMapActivity().getString(R.string.shared_string_map);
|
||||||
}
|
}
|
||||||
|
DownloadActivityType downloadActivityType = getDownloadActivityType();
|
||||||
|
if (downloadActivityType != null) {
|
||||||
|
res += ", " + downloadActivityType.getString(getMapActivity());
|
||||||
|
}
|
||||||
if (getMenuType() == MenuType.STANDARD) {
|
if (getMenuType() == MenuType.STANDARD) {
|
||||||
res += "\n";
|
res += "\n";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue