Notification system in frontend
- Heatmap worker now reports progress - Base for new altitude value - Phones can be marked active
This commit is contained in:
@@ -92,7 +92,10 @@ class TrackerService : Service() {
|
||||
level * 100 / scale.toFloat()
|
||||
}
|
||||
|
||||
val beat = Beat(androidId, arrayOf(location.latitude, location.longitude, location.accuracy.toDouble(), location.speed.toDouble()), batteryPct?.toInt(), location.time)
|
||||
val beat = Beat(
|
||||
androidId,
|
||||
arrayOf(location.latitude, location.longitude, location.altitude, location.accuracy.toDouble(), location.speed.toDouble()),
|
||||
batteryPct?.toInt(), location.time)
|
||||
val moshi = Moshi.Builder().add(KotlinJsonAdapterFactory()).build()
|
||||
val jsonAdapter: JsonAdapter<Beat> = moshi.adapter(Beat::class.java)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user