diff options
Diffstat (limited to 'main/src/cgeo/geocaching/GeoDataProvider.java')
-rw-r--r-- | main/src/cgeo/geocaching/GeoDataProvider.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/main/src/cgeo/geocaching/GeoDataProvider.java b/main/src/cgeo/geocaching/GeoDataProvider.java index dca160e..a52420a 100644 --- a/main/src/cgeo/geocaching/GeoDataProvider.java +++ b/main/src/cgeo/geocaching/GeoDataProvider.java @@ -177,8 +177,10 @@ class GeoDataProvider extends MemorySubject<IGeoData> { } } else if (lastGpsLocation != null) { copyCoords(initialLocation, lastGpsLocation); - } else { + } else if (lastNetworkLocation != null) { copyCoords(initialLocation, lastNetworkLocation); + } else { + Log.i("GeoDataProvider: no last known location available"); } } catch (final Exception e) { // This error is non-fatal as its only consequence is that we will start with a dummy location |