From ad7c8b35b58dbceb79d18048ee65459709daeb5a Mon Sep 17 00:00:00 2001 From: Victor Shcherb Date: Sun, 14 Jun 2015 20:57:04 +0200 Subject: [PATCH] Fix archive wiki --- OsmAnd/src/net/osmand/plus/download/DownloadActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/download/DownloadActivity.java b/OsmAnd/src/net/osmand/plus/download/DownloadActivity.java index 2cecfb77fa..64b2f53455 100644 --- a/OsmAnd/src/net/osmand/plus/download/DownloadActivity.java +++ b/OsmAnd/src/net/osmand/plus/download/DownloadActivity.java @@ -379,7 +379,7 @@ public class DownloadActivity extends BaseDownloadActivity { @Override public void onClick(DialogInterface dialog, int which) { for(String w : wiki) { - File fl = new File(w); + File fl = getMyApplication().getAppPath(w); File nf = new File(fl.getParentFile(), IndexConstants.BACKUP_INDEX_DIR + "/"+fl.getName()); boolean res = fl.renameTo(nf); if(!res) {