Logs
This commit is contained in:
@@ -599,22 +599,6 @@ class NavigationViewModel(private val repository: NavigationRepository) : ViewMo
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Queries Tankerkoenig API for fuel prices on current road.
|
||||
*
|
||||
*/
|
||||
fun updateFuelPrices(
|
||||
location: Location,
|
||||
) {
|
||||
viewModelScope.launch(Dispatchers.IO) {
|
||||
synchronized(this) {
|
||||
val stations =
|
||||
FuelPrices().getFuelPrices(location, 3)
|
||||
Log.d(TAG, "FuelPrices $stations")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Saves a place as a favorite in Preferences.
|
||||
*/
|
||||
|
||||
@@ -62,7 +62,6 @@ class RouteCalculator(var routeModel: RouteModel) {
|
||||
steps[match.stepIndex].waypointIndex = match.waypointIndex
|
||||
steps[match.stepIndex].wayPointLocation = match.location
|
||||
}
|
||||
Log.d(TAG, "FindStep optimized: count=$searchCount, dist=$nearestDistance")
|
||||
return
|
||||
}
|
||||
lastDistance = distance
|
||||
@@ -73,7 +72,6 @@ class RouteCalculator(var routeModel: RouteModel) {
|
||||
steps[match.stepIndex].waypointIndex = match.waypointIndex
|
||||
steps[match.stepIndex].wayPointLocation = match.location
|
||||
}
|
||||
Log.d(TAG, "FindStep not optimized: count=$searchCount, dist=$nearestDistance")
|
||||
}
|
||||
|
||||
private fun stopSearch(nearestDistance: Float, distance: Float, increaseCount: Int): Boolean {
|
||||
|
||||
Reference in New Issue
Block a user