aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/cgeo.java
diff options
context:
space:
mode:
authorSamuel Tardieu <sam@rfc1149.net>2011-11-07 18:21:19 +0100
committerSamuel Tardieu <sam@rfc1149.net>2011-11-07 18:35:29 +0100
commit3668637ef8de16add92db0f6a15282fc23282ba4 (patch)
treed98475917ef39f3ef923af01babde43bc3295daa /main/src/cgeo/geocaching/cgeo.java
parent48a1073edac0a3ed8296c38abcd421381710c47a (diff)
downloadcgeo-3668637ef8de16add92db0f6a15282fc23282ba4.zip
cgeo-3668637ef8de16add92db0f6a15282fc23282ba4.tar.gz
cgeo-3668637ef8de16add92db0f6a15282fc23282ba4.tar.bz2
Use a separate and unique thread for Go4Cache
This change creates a new Go4Cache thread which is started only when the user opts in in sending their position to go4cache.com. Instead of creating a new thread for every update, the same thread is reused and orders are given through a one-position queue.
Diffstat (limited to 'main/src/cgeo/geocaching/cgeo.java')
-rw-r--r--main/src/cgeo/geocaching/cgeo.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/cgeo/geocaching/cgeo.java b/main/src/cgeo/geocaching/cgeo.java
index ec4c3ed..3cbb46c 100644
--- a/main/src/cgeo/geocaching/cgeo.java
+++ b/main/src/cgeo/geocaching/cgeo.java
@@ -458,7 +458,7 @@ public class cgeo extends AbstractActivity {
}
if (geo == null) {
- geo = app.startGeo(context, geoUpdate, base, 0, 0);
+ geo = app.startGeo(context, geoUpdate, 0, 0);
}
navType = (TextView) findViewById(R.id.nav_type);