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 13, 2018
1 parent 075f888 commit f85c53f
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, 1000 * 60, 500, this);
locationManager.requestLocationUpdates(LocationManager.NETWORK_PROVIDER, 1000 * 60, 500, this);
locationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 1000 * 60 * 3, 500, this);
locationManager.requestLocationUpdates(LocationManager.NETWORK_PROVIDER, 1000 * 60 * 3, 500, this);

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

0 comments on commit f85c53f

Please sign in to comment.