fill in for local device that happens to not have GPS signal (even if has GPS)

This commit is contained in:
Kevin Hester 2021-03-27 15:50:16 +08:00
parent d41cef5d38
commit 9a7e46c5df
2 changed files with 78 additions and 45 deletions

View file

@ -43,7 +43,7 @@ data class Position(
val latitude: Double,
val longitude: Double,
val altitude: Int,
val time: Int = currentTime(), // default to current time in secs
val time: Int = currentTime(), // default to current time in secs (NOT MILLISECONDS!)
val batteryPctLevel: Int = 0
) : Parcelable {
companion object {