Removed unused Waypoint.startId and Waypoint.stopId.

This commit is contained in:
Dennis Guse
2019-12-26 10:56:20 +01:00
parent 422c2c02ce
commit 73b4977051
5 changed files with 10 additions and 35 deletions
@@ -322,7 +322,7 @@ public class TrackRecordingService extends Service {
long duration = stats.getTotalTime();
// Insert waypoint
Waypoint waypoint = new Waypoint(name, description, category, icon, recordingTrackId, length, duration, -1L, -1L, location, null, photoUrl);
Waypoint waypoint = new Waypoint(name, description, category, icon, recordingTrackId, length, duration, location, null, photoUrl);
Uri uri = contentProviderUtils.insertWaypoint(waypoint);
return Long.parseLong(uri.getLastPathSegment());
}