# HG changeset patch # User Xeli # Date 1330462833 -3600 # Node ID 7c75941b499bf2dd15b03470c5e960759874b536 # Parent 5eb087708fbd98a89fbb8ab867d6a9e3b7fbed9c android: fix finding cache dir on prefroyo devices, it now creates the Hedgewars folder if it wasn't there diff -r 5eb087708fbd -r 7c75941b499b project_files/Android-build/SDL-android-project/src/org/hedgewars/hedgeroid/Downloader/DownloadAsyncTask.java --- a/project_files/Android-build/SDL-android-project/src/org/hedgewars/hedgeroid/Downloader/DownloadAsyncTask.java Tue Feb 28 09:40:48 2012 -0500 +++ b/project_files/Android-build/SDL-android-project/src/org/hedgewars/hedgeroid/Downloader/DownloadAsyncTask.java Tue Feb 28 22:00:33 2012 +0100 @@ -73,7 +73,7 @@ String rootZipDest = pack.getPathToStore(); File rootDest = new File(rootZipDest);//TODO check for nullpointer, it hints to the absence of an sdcard - rootDest.mkdir(); + rootDest.mkdirs(); try { URL url = new URL(pack.getURL() + URL_ZIP_SUFFIX);