Fixing issue 190 (first step: dirty hack)

This commit is contained in:
Rodrigo Damazio
2010-10-13 22:03:31 -03:00
parent 24adee3d54
commit a741bb4d55
@@ -281,7 +281,7 @@ public class SendToMyMaps {
context.getString(R.string.progress_message_reading_track));
providerUtils.getTrackPoints(track, buffer);
if (buffer.getLocationsLoaded() <= 0) {
if (buffer.getLocationsLoaded() <= 0 || buffer.getSize() <= 0) {
continue;
}
if (totalLocationsRead == 0) {