searchingAddress = false in isCancelled for reverse geocoding
This commit is contained in:
parent
e0538dc659
commit
e67e981415
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue