fix Issue 2106

This commit is contained in:
sonora 2016-01-02 19:48:18 +01:00
parent e9ab0bec9f
commit c7ae34e1f6
2 changed files with 2 additions and 0 deletions

View file

@ -474,6 +474,7 @@ public class MapContextMenu extends MenuTitleController implements StateChangedL
addAsTargetAction.dlg.setButton(Dialog.BUTTON_NEGATIVE, mapActivity.getResources().getString(R.string.shared_string_skip), new DialogInterface.OnClickListener() {
public void onClick(DialogInterface dialog, int which) {
cancelSearch = true;
searchingAddress = false;
}
});
addAsTargetAction.dlg.show();

View file

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