From e9ae7026c09af82caa3ca86ae9945ac0dd626c28 Mon Sep 17 00:00:00 2001 From: vng Date: Mon, 20 May 2013 16:37:51 +0300 Subject: [PATCH] [android] Check writeable path with "/" in the end for external sd-card. --- .../src/com/mapswithme/maps/settings/StoragePathActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/src/com/mapswithme/maps/settings/StoragePathActivity.java b/android/src/com/mapswithme/maps/settings/StoragePathActivity.java index 26e9e31153..8ae7ca44d7 100644 --- a/android/src/com/mapswithme/maps/settings/StoragePathActivity.java +++ b/android/src/com/mapswithme/maps/settings/StoragePathActivity.java @@ -137,7 +137,7 @@ public class StoragePathActivity extends ListActivity { try { - final File f = new File(path); + final File f = new File(path + "/"); if (f.exists() && f.isDirectory() && f.canWrite()) { if (findItemByPath(path) != -1)