mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2026-07-31 07:44:24 +02:00
Fix loop condition!
This commit is contained in:
+1
-1
@@ -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++;
|
||||
|
||||
Reference in New Issue
Block a user