Fixing sampling frequency calculation.

This commit is contained in:
Rodrigo Damazio
2011-05-16 23:43:24 -03:00
parent e09501d779
commit 8056b66714
@@ -924,7 +924,7 @@ public class TrackDataHub {
if (previousNumPoints <= 0) {
localNumLoadedPoints = keepState ? numLoadedPoints : 0;
}
long localFirstSeenLocationId = keepState ? firstSeenLocationId : 0;
long localFirstSeenLocationId = keepState ? firstSeenLocationId : -1;
long localLastSeenLocationId = minPointId;
long lastStoredLocationId = providerUtils.getLastLocationId(currentSelectedTrackId);
int pointSamplingFrequency = -1;