Alter table trackpoints: added elevation gain to the trackpoints table.

This commit is contained in:
Román
2020-09-03 14:55:12 +02:00
committed by Dennis Guse
parent 4b7de188fd
commit 577b9b4635
3 changed files with 37 additions and 2 deletions
@@ -836,6 +836,11 @@ public class ContentProviderUtils {
if (trackPoint.hasPower()) {
values.put(TrackPointsColumns.SENSOR_POWER, trackPoint.getPower());
}
if (trackPoint.hasElevationGain()) {
values.put(TrackPointsColumns.ELEVATION_GAIN, trackPoint.getElevationGain());
}
return values;
}