From 36d126dc09b8f61e2fa457d0a93e772173f228f8 Mon Sep 17 00:00:00 2001 From: sonora Date: Mon, 4 Jan 2016 10:46:37 +0100 Subject: [PATCH] fix small issue with My Position not displaying "Looking up address..." --- .../net/osmand/plus/mapcontextmenu/MenuTitleController.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/mapcontextmenu/MenuTitleController.java b/OsmAnd/src/net/osmand/plus/mapcontextmenu/MenuTitleController.java index 68319378f3..8959e1bd9a 100644 --- a/OsmAnd/src/net/osmand/plus/mapcontextmenu/MenuTitleController.java +++ b/OsmAnd/src/net/osmand/plus/mapcontextmenu/MenuTitleController.java @@ -75,7 +75,9 @@ public abstract class MenuTitleController { MenuController menuController = getMenuController(); if (menuController != null && menuController.needStreetName()) { // Display "Looking up address..." status - if (searchingAddress) { + //if (searchingAddress) { + // Again here searchingAddress does not work for case of search interrupted by new searcj, so: + if (Algorithms.isEmpty(streetStr)) { return addressNotKnownStr; } else { return streetStr;