From fc9d71333b5673e1792d6f833b36125d301751b4 Mon Sep 17 00:00:00 2001
From: Arne Schwabe <arne@rfc2549.org>
Date: Mon, 3 Sep 2012 17:41:40 +0200
Subject: Replace /mnt/sdcard with real location of external storage, add read
 sdcard permission to manifest

---
 src/de/blinkt/openvpn/FileSelect.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/de/blinkt')

diff --git a/src/de/blinkt/openvpn/FileSelect.java b/src/de/blinkt/openvpn/FileSelect.java
index 30d6628..b76dbc9 100644
--- a/src/de/blinkt/openvpn/FileSelect.java
+++ b/src/de/blinkt/openvpn/FileSelect.java
@@ -152,7 +152,7 @@ public class FileSelect extends Activity {
 		if(!mData.startsWith(VpnProfile.INLINE_TAG))
 			return mData;
 		else
-			return "/mnt/sdcard";
+			return Environment.getExternalStorageDirectory().getPath();
 	}
 
 	public CharSequence getInlineData() {
-- 
cgit v1.2.3