aboutsummaryrefslogtreecommitdiffstats
path: root/main/src
diff options
context:
space:
mode:
authorcampbeb <bpcampbell@gmail.com>2012-01-07 13:42:05 +0900
committercampbeb <bpcampbell@gmail.com>2012-01-07 13:42:05 +0900
commit7a162030a521b7d7f7889e39978f513b6923d23d (patch)
tree87512d14d8abaa0f1ea4fca68c4ca06343c11ff4 /main/src
parentcc6e80e8c2f040dffdb442cd8e08f5699d71d938 (diff)
downloadcgeo-7a162030a521b7d7f7889e39978f513b6923d23d.zip
cgeo-7a162030a521b7d7f7889e39978f513b6923d23d.tar.gz
cgeo-7a162030a521b7d7f7889e39978f513b6923d23d.tar.bz2
Don't removeUpdates for a provider just because it is disabled. We would
like to continue receiving updates if it is enabled again. Fixes #933
Diffstat (limited to 'main/src')
-rw-r--r--main/src/cgeo/geocaching/cgGeo.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/main/src/cgeo/geocaching/cgGeo.java b/main/src/cgeo/geocaching/cgGeo.java
index e008aa7..f9d6356 100644
--- a/main/src/cgeo/geocaching/cgGeo.java
+++ b/main/src/cgeo/geocaching/cgGeo.java
@@ -81,9 +81,7 @@ public class cgGeo {
@Override
public void onProviderDisabled(String provider) {
- if (provider.equals(locationProvider)) {
- geoManager.removeUpdates(this);
- }
+ // nothing
}
@Override