aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching
diff options
context:
space:
mode:
authorSamuel Tardieu <sam@rfc1149.net>2014-04-26 23:03:26 +0200
committerSamuel Tardieu <sam@rfc1149.net>2014-04-26 23:05:13 +0200
commit35358ed4fe5ecd28033f6b5a6f1f723eaf2acf5a (patch)
treec63367a958ea7222e858aae00cb916e61f0df8a4 /main/src/cgeo/geocaching
parentdc0baacfc2ae0f7e53631bbba2c70f1f70340939 (diff)
downloadcgeo-35358ed4fe5ecd28033f6b5a6f1f723eaf2acf5a.zip
cgeo-35358ed4fe5ecd28033f6b5a6f1f723eaf2acf5a.tar.gz
cgeo-35358ed4fe5ecd28033f6b5a6f1f723eaf2acf5a.tar.bz2
Use the same name as GPS manufacturers for local spoilers
Garmin uses GeocachePhotos. This will ease the transfer of files.
Diffstat (limited to 'main/src/cgeo/geocaching')
-rw-r--r--main/src/cgeo/geocaching/Geocache.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/src/cgeo/geocaching/Geocache.java b/main/src/cgeo/geocaching/Geocache.java
index bd1d8bf..19c15fd 100644
--- a/main/src/cgeo/geocaching/Geocache.java
+++ b/main/src/cgeo/geocaching/Geocache.java
@@ -1734,11 +1734,11 @@ public class Geocache implements ICache, IWaypoint {
return result;
}
- // add spoilers stored locally in /sdcard/GeocacheSpoilers
+ // Add spoilers stored locally in /sdcard/GeocachePhotos
private void addLocalSpoilersTo(final List<Image> spoilers) {
if (StringUtils.length(geocode) >= 2) {
final String suffix = StringUtils.right(geocode, 2);
- final File baseDir = new File(Environment.getExternalStorageDirectory().toString(), "GeocacheSpoilers");
+ final File baseDir = new File(Environment.getExternalStorageDirectory().toString(), "GeocachePhotos");
final File lastCharDir = new File(baseDir, suffix.substring(1));
final File secondToLastCharDir = new File(lastCharDir, suffix.substring(0, 1));
final File finalDir = new File(secondToLastCharDir, getGeocode());