mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-28 12:56:49 +01:00
Fix loop condition!
This commit is contained in:
parent
fe401bdcf5
commit
5bca05caac
@ -140,7 +140,7 @@ public class ActivityDetailsParser {
|
||||
List<ActivityPoint> activityPointList = activityTrack.getTrackPoints();
|
||||
Date gpsStartTime = null;
|
||||
List<ActivityPoint> entriesToFixUp = new ArrayList<>();
|
||||
while (pointer < activityPointList.size() + 1) {
|
||||
while (pointer < activityPointList.size() - 1) {
|
||||
ActivityPoint activityPoint = activityPointList.get(pointer);
|
||||
if (activityPoint.getLocation() == null) {
|
||||
pointer++;
|
||||
|
Loading…
Reference in New Issue
Block a user