Skip to content

Commit f5b1db8

Browse files
authored
Merge branch 'develop' into issue-64
2 parents d55fcba + 921453e commit f5b1db8

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

app/src/main/java/net/osmtracker/gpx/ZipHelper.java

+8
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,14 @@ public static File zipCacheFiles(Context context, long trackId, File fileGPX) {
6565
}
6666
}
6767

68+
/**
69+
* Compresses track into a ZIP file.
70+
*
71+
* @param context Application context.
72+
* @param trackId Track ID.
73+
* @param fileGPX GPX file.
74+
* @return The created ZIP file or null if an error occurred.
75+
*/
6876
public static File zipFile(Context context, long trackId, File fileGPX) {
6977

7078
String name = fileGPX.getName();

0 commit comments

Comments
 (0)