diff options
| author | Samuel Tardieu <sam@rfc1149.net> | 2015-01-04 09:38:49 +0100 |
|---|---|---|
| committer | Samuel Tardieu <sam@rfc1149.net> | 2015-01-04 09:38:54 +0100 |
| commit | 49fefbeefc1b4494ed3d4102ffb3b12eb8898659 (patch) | |
| tree | 4b643a6b3402dcad1c0ca2f45d02dcb1926e5e3b /main/src/cgeo/geocaching/ui | |
| parent | b26c135e3a401815924f628d40b94f4b6fcd55ec (diff) | |
| download | cgeo-49fefbeefc1b4494ed3d4102ffb3b12eb8898659.zip cgeo-49fefbeefc1b4494ed3d4102ffb3b12eb8898659.tar.gz cgeo-49fefbeefc1b4494ed3d4102ffb3b12eb8898659.tar.bz2 | |
Use shared directory for temporary files
Diffstat (limited to 'main/src/cgeo/geocaching/ui')
| -rw-r--r-- | main/src/cgeo/geocaching/ui/ImagesList.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/cgeo/geocaching/ui/ImagesList.java b/main/src/cgeo/geocaching/ui/ImagesList.java index 32e29bb..aa81dd0 100644 --- a/main/src/cgeo/geocaching/ui/ImagesList.java +++ b/main/src/cgeo/geocaching/ui/ImagesList.java @@ -203,7 +203,7 @@ public class ImagesList { } private static File saveToTemporaryJPGFile(final BitmapDrawable image) throws FileNotFoundException { - final File file = LocalStorage.getStorageFile(null, "temp.jpg", false, true); + final File file = LocalStorage.getStorageFile(HtmlImage.SHARED, "temp.jpg", false, true); BufferedOutputStream stream = null; try { stream = new BufferedOutputStream(new FileOutputStream(file)); |
