mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-29 22:03:55 +01:00
Code style fixes
This commit is contained in:
parent
a62bfd2001
commit
0a86a31203
3 changed files with 7 additions and 5 deletions
|
|
@ -4,7 +4,7 @@ public class LatLng {
|
|||
|
||||
public final double latitude;
|
||||
public final double longitude;
|
||||
public final float accuracy;
|
||||
private final float accuracy;
|
||||
|
||||
/** Accepts latitude and longitude.
|
||||
* North and South values are cut off at 90°
|
||||
|
|
|
|||
|
|
@ -69,7 +69,8 @@ public class LocationServiceManager implements LocationListener {
|
|||
double currentLatitude = location.getLatitude();
|
||||
double currentLongitude = location.getLongitude();
|
||||
latestLocationAccuracy = location.getAccuracy();
|
||||
Timber.d("Latitude: %f Longitude: %f Accuracy %f", currentLatitude, currentLongitude, latestLocationAccuracy);
|
||||
Timber.d("Latitude: %f Longitude: %f Accuracy %f",
|
||||
currentLatitude, currentLongitude, latestLocationAccuracy);
|
||||
|
||||
latestLocation = new LatLng(currentLatitude, currentLongitude, latestLocationAccuracy);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue