correct typo with mapActivity

This commit is contained in:
sonora 2013-06-12 13:21:22 +02:00
parent 9966afebf0
commit f07307edff

View file

@ -801,15 +801,15 @@ public class MapActivityActions implements DialogProvider {
getDirections(loc, null, true);
}
} else if (standardId == R.string.context_menu_item_intermediate_point) {
// TODO Issue 1929: insert navigatePointDialog, but without Directions
//navigatePointDialogAndLaunchMap(activity, latitude, longitude, null);
targets.navigateToPoint(new LatLon(latitude, longitude), true, targets.getIntermediatePoints().size());
// TODO Issue 1929: insert navigatePointDialog, but without Directions:
navigatePointDialogAndLaunchMap(mapActivity, latitude, longitude, null);
//targets.navigateToPoint(new LatLon(latitude, longitude), true, targets.getIntermediatePoints().size());
IntermediatePointsDialog.openIntermediatePointsDialog(mapActivity);
// For button-less search UI
} else if (standardId == R.string.context_menu_item_destination_point) {
// TODO Issue 1929: insert navigatePointDialog, but without Directions
//navigatePointDialogAndLaunchMap(activity, latitude, longitude, null);
targets.navigateToPoint(new LatLon(latitude, longitude), true, -1);
// TODO Issue 1929: insert navigatePointDialog, but without Directions:
navigatePointDialogAndLaunchMap(mapActivity, latitude, longitude, null);
//targets.navigateToPoint(new LatLon(latitude, longitude), true, -1);
IntermediatePointsDialog.openIntermediatePointsDialog(mapActivity);
} else if (standardId == R.string.context_menu_item_share_location) {
shareLocation(latitude, longitude, mapActivity.getMapView().getZoom());
@ -1310,7 +1310,7 @@ public class MapActivityActions implements DialogProvider {
}
targetPointsHelper.updatePointsFromSettings();
// TODO Issue 1929: slash next line (no Directions here)
MapActivity.launchMapActivityMoveToTop(act);
//MapActivity.launchMapActivityMoveToTop(act);
}
});
builder.show();
@ -1318,7 +1318,7 @@ public class MapActivityActions implements DialogProvider {
settings.setPointToNavigate(lat, lon, true, name);
targetPointsHelper.updatePointsFromSettings();
// TODO Issue 1929: slash next line (no Directions here)
MapActivity.launchMapActivityMoveToTop(act);
//MapActivity.launchMapActivityMoveToTop(act);
}
}