Removed modifiedtime from Track - was likely a Google Drive leftover.

This commit is contained in:
Dennis Guse
2019-09-10 20:27:02 +02:00
parent 6bfd8c8db8
commit 5bc773f1aa
2 changed files with 0 additions and 13 deletions
@@ -58,8 +58,6 @@ public class Track implements Parcelable {
private int numberOfPoints = 0;
private String icon = "";
@Deprecated //TODO Is this still used or a left over from Google Drive integration?
private long modifiedTime = -1L;
private TripStatistics tripStatistics = new TripStatistics();
// Location points (which may not have been loaded)
@@ -77,7 +75,6 @@ public class Track implements Parcelable {
stopId = in.readLong();
numberOfPoints = in.readInt();
icon = in.readString();
modifiedTime = in.readLong();
ClassLoader classLoader = getClass().getClassLoader();
tripStatistics = in.readParcelable(classLoader);
@@ -103,7 +100,6 @@ public class Track implements Parcelable {
dest.writeLong(stopId);
dest.writeInt(numberOfPoints);
dest.writeString(icon);
dest.writeLong(modifiedTime);
dest.writeParcelable(tripStatistics, 0);
for (int i = 0; i < numberOfPoints; ++i) {
@@ -175,14 +171,6 @@ public class Track implements Parcelable {
this.icon = icon;
}
public long getModifiedTime() {
return modifiedTime;
}
public void setModifiedTime(long modifiedTime) {
this.modifiedTime = modifiedTime;
}
public TripStatistics getTripStatistics() {
return tripStatistics;
}
@@ -46,7 +46,6 @@ public class TrackUtils {
if (description != null) {
track.setDescription(description);
}
track.setModifiedTime(System.currentTimeMillis());
contentProviderUtils.updateTrack(track);
}
}