diff options
| author | Samuel Tardieu <sam@rfc1149.net> | 2014-01-12 16:15:29 +0100 |
|---|---|---|
| committer | Samuel Tardieu <sam@rfc1149.net> | 2014-01-12 23:21:55 +0100 |
| commit | 7fe17b6b441e145e7e4c46f0aed83b86a00d4e57 (patch) | |
| tree | 29136ac2e174221f8ab65bb4e7874e6a2de6f1f2 /main/src/cgeo/geocaching/Geocache.java | |
| parent | df177f0e15f4a8fa3dd378648477200596306be9 (diff) | |
| download | cgeo-7fe17b6b441e145e7e4c46f0aed83b86a00d4e57.zip cgeo-7fe17b6b441e145e7e4c46f0aed83b86a00d4e57.tar.gz cgeo-7fe17b6b441e145e7e4c46f0aed83b86a00d4e57.tar.bz2 | |
When storing a cache, download images concurrently
Up to 5 downloads can happen simultaneously. Also, those downloads are
executed concurrently to static map requests if any.
Diffstat (limited to 'main/src/cgeo/geocaching/Geocache.java')
| -rw-r--r-- | main/src/cgeo/geocaching/Geocache.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/main/src/cgeo/geocaching/Geocache.java b/main/src/cgeo/geocaching/Geocache.java index 30ab55f..42b8f0a 100644 --- a/main/src/cgeo/geocaching/Geocache.java +++ b/main/src/cgeo/geocaching/Geocache.java @@ -1643,6 +1643,8 @@ public class Geocache implements ICache, IWaypoint { StaticMapsProvider.downloadMaps(cache); + imgGetter.waitForBackgroundLoading(handler); + if (handler != null) { handler.sendMessage(Message.obtain()); } |
