Skip to content

Commit d002049

Browse files
tobrunzugaldia
authored andcommitted
LostLocationEngine - add interval to request (#393)
1 parent 6aa2be9 commit d002049

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

mapbox/libandroid-services/src/main/java/com/mapbox/services/android/location/LostLocationEngine.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ public Location getLastLocation() {
8989
public void requestLocationUpdates() {
9090
// Common params
9191
LocationRequest request = LocationRequest.create()
92+
.setInterval(1000)
9293
.setFastestInterval(1000)
9394
.setSmallestDisplacement(3.0f);
9495

0 commit comments

Comments
 (0)