Commit e6b01777 authored by Andres Käver's avatar Andres Käver
Browse files

domain

parent c10f2e4c
......@@ -129,6 +129,8 @@ class LocationService : Service() {
val requestJsonParameters = JSONObject()
requestJsonParameters.put("name", Date().toString())
requestJsonParameters.put("description", Date().toString())
requestJsonParameters.put("paceMin", 6*60)
requestJsonParameters.put("paceMax", 18*60)
var httpRequest = object : JsonObjectRequest(
......@@ -429,6 +431,13 @@ class LocationService : Service() {
distanceCPDirect = 0f
distanceCPTotal = 0f
distanceCPTime = 0
//reset WP also, since we know exactly where we are on the map
locationWP = currentLocation
distanceWPDirect = 0f
distanceWPTotal = 0f
distanceWPTime = 0
saveRestLocation(locationCP!!, C.REST_LOCATIONID_CP)
showNotification()
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment