Skip to content

Commit

Permalink
Update FarAwayObserver.java
Browse files Browse the repository at this point in the history
  • Loading branch information
omegaes authored Jul 12, 2018
1 parent a561a03 commit 075f888
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ public void LocationPermissionGranted(Context context) {
return;
}

locationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 1, 0, this);
locationManager.requestLocationUpdates(LocationManager.NETWORK_PROVIDER, 1, 0, this);
locationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 1000 * 60, 500, this);
locationManager.requestLocationUpdates(LocationManager.NETWORK_PROVIDER, 1000 * 60, 500, this);

notifyObservers(locationManager.getLastKnownLocation(LocationManager.NETWORK_PROVIDER));
notifyObservers(locationManager.getLastKnownLocation(LocationManager.GPS_PROVIDER));
Expand Down

0 comments on commit 075f888

Please sign in to comment.