summaryrefslogtreecommitdiff
path: root/src/de/blinkt/openvpn/FileSelect.java
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2012-09-03 17:41:40 +0200
committerArne Schwabe <arne@rfc2549.org>2012-09-03 17:41:40 +0200
commitfc9d71333b5673e1792d6f833b36125d301751b4 (patch)
tree7066e51dda7bb405a374d34730d92b34c6eea070 /src/de/blinkt/openvpn/FileSelect.java
parent4483c357fee4688a1604dd1cbf5b6262bbbf4e75 (diff)
Replace /mnt/sdcard with real location of external storage, add read sdcard permission to manifest
Diffstat (limited to 'src/de/blinkt/openvpn/FileSelect.java')
-rw-r--r--src/de/blinkt/openvpn/FileSelect.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/de/blinkt/openvpn/FileSelect.java b/src/de/blinkt/openvpn/FileSelect.java
index 30d6628e..b76dbc93 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() {