searchingAddress = false in isCancelled for reverse geocoding

This commit is contained in:
sonora 2016-01-02 19:32:24 +01:00
parent e0538dc659
commit e67e981415

View file

@ -141,7 +141,6 @@ public abstract class MenuTitleController {
protected void acquireStreetName() {
if (searchingAddress) {
cancelSearch = true;
searchingAddress = false;
getMapActivity().getMyApplication().runInUIThread(new Runnable() {
@Override
public void run() {
@ -225,6 +224,9 @@ public abstract class MenuTitleController {
@Override
public boolean isCancelled() {
if (cancelSearch) {
searchingAddress = false;
}
return cancelSearch;
}