try needStreetName, searchingAddress did not work here once search was interrupted by a new search

This commit is contained in:
sonora 2016-01-02 11:07:46 +01:00
parent ff5536bd64
commit 0644b82aa6

View file

@ -37,7 +37,9 @@ public abstract class MenuTitleController {
public abstract MenuController getMenuController();
public String getTitleStr() {
if (Algorithms.isEmpty(nameStr) && searchingAddress) {
//if (Algorithms.isEmpty(nameStr) && searchingAddress) {
// searchingAddress did not work here once search was interrupted by a new search
if (Algorithms.isEmpty(nameStr) && needStreetName()) {
return addressNotKnownStr;
} else {
return nameStr;