Merge heads

This commit is contained in:
youtaol
2013-10-18 15:59:15 +08:00
parent ed4ec20ad7
commit 7edf71c95f
3 changed files with 43 additions and 8 deletions
@@ -88,9 +88,11 @@ public class DeleteMarkerDialogFragment extends DialogFragment {
new Thread(new Runnable() {
@Override
public void run() {
MyTracksProviderUtils myTracksProviderUtils = MyTracksProviderUtils.Factory.get(
fragmentActivity);
for (long markerId : markerIds) {
MyTracksProviderUtils.Factory.get(fragmentActivity)
.deleteWaypoint(markerId, new DescriptionGeneratorImpl(fragmentActivity));
myTracksProviderUtils.deleteWaypoint(
markerId, new DescriptionGeneratorImpl(fragmentActivity));
}
caller.onDeleteMarkerDone();
}