From cacc92457f0b2923aea4d801c1d1676d1c82932f Mon Sep 17 00:00:00 2001 From: sonora Date: Mon, 19 Jan 2015 23:48:08 +0100 Subject: [PATCH] initialize totalTracks --- OsmAnd/src/net/osmand/plus/GPXUtilities.java | 1 + 1 file changed, 1 insertion(+) diff --git a/OsmAnd/src/net/osmand/plus/GPXUtilities.java b/OsmAnd/src/net/osmand/plus/GPXUtilities.java index 208d1d4bf3..ac5b40f613 100644 --- a/OsmAnd/src/net/osmand/plus/GPXUtilities.java +++ b/OsmAnd/src/net/osmand/plus/GPXUtilities.java @@ -503,6 +503,7 @@ public class GPXUtilities { public GPXTrackAnalysis getAnalysis(long fileTimestamp) { GPXTrackAnalysis g = new GPXTrackAnalysis(); g.wptPoints = points.size(); + g.totalTracks = 0; List splitSegments = new ArrayList(); for(int i = 0; i< tracks.size() ; i++){ Track subtrack = tracks.get(i);