Skip to content

Commit

Permalink
refine comment
Browse files Browse the repository at this point in the history
  • Loading branch information
westnordost committed Nov 30, 2021
1 parent 28d450a commit 75e1142
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ class FineLocationManager(context: Context, locationUpdateCallback: (Location) -

private const val TWO_MINUTES = 1000L * 60 * 2

// Determines whether this Location reading is better than the current Location fix
/** Determines whether this Location reading is better than the previous Location fix */
private fun Location.isBetterThan(previous: Location?): Boolean {
// Check whether this is a valid location at all.
// Happened once that lat/lon is NaN, maybe issue of that particular device
Expand Down

0 comments on commit 75e1142

Please sign in to comment.