From 08a896aac2de360c45eaf3dc744963d96232417c Mon Sep 17 00:00:00 2001 From: sonora Date: Sat, 5 Dec 2015 10:55:41 +0100 Subject: [PATCH] test indicate "No address determined" --- .../src/net/osmand/plus/mapcontextmenu/MenuTitleController.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/OsmAnd/src/net/osmand/plus/mapcontextmenu/MenuTitleController.java b/OsmAnd/src/net/osmand/plus/mapcontextmenu/MenuTitleController.java index f2baea5dec..c4282e8d8c 100644 --- a/OsmAnd/src/net/osmand/plus/mapcontextmenu/MenuTitleController.java +++ b/OsmAnd/src/net/osmand/plus/mapcontextmenu/MenuTitleController.java @@ -174,6 +174,8 @@ public abstract class MenuTitleController { if (!Algorithms.isEmpty(streetStr) && object.getDistance() > 100) { streetStr = getMapActivity().getString(R.string.shared_string_near) + " " + streetStr; + } elseif (Algorithms.isEmpty(streetStr)) { + streetStr = "No address determined"; } if (!Algorithms.isEmpty(streetStr)) {