It looks like a 0 being passed for distance when getting updates. This allows onLocationChange to keep firing even when location.distanceTo(oldLocation) == 0.0F. For now I will calculate the distance but this seems like a lot of radio usage.
The following line is passing in 0 for distance setting
currentUpdateRequest = new UpdateRequest(provider, timeInterval, 0, locationChangeListener);
It looks like a 0 being passed for distance when getting updates. This allows onLocationChange to keep firing even when location.distanceTo(oldLocation) == 0.0F. For now I will calculate the distance but this seems like a lot of radio usage.
The following line is passing in 0 for distance setting
currentUpdateRequest = new UpdateRequest(provider, timeInterval, 0, locationChangeListener);
https://developer.android.com/reference/android/location/LocationManager.html#requestLocationUpdates(java.lang.String, long, float, android.location.LocationListener)