diff options
author | Arne Schwabe <arne@rfc2549.org> | 2012-05-25 09:28:18 +0200 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2012-05-25 09:28:18 +0200 |
commit | 7aab2ed1a75b29c40c0f83b1d48d889b02deb61f (patch) | |
tree | cc6e5a78b238c8e424276c37e3681485bc5d0e6e /src/de/blinkt/openvpn/FileSelect.java | |
parent | 8606c50fb2b9715fc9a70033aafcdec6b61cea5c (diff) |
Fix errors reported by lint
Diffstat (limited to 'src/de/blinkt/openvpn/FileSelect.java')
-rw-r--r-- | src/de/blinkt/openvpn/FileSelect.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/de/blinkt/openvpn/FileSelect.java b/src/de/blinkt/openvpn/FileSelect.java index 62cd9883..c235594e 100644 --- a/src/de/blinkt/openvpn/FileSelect.java +++ b/src/de/blinkt/openvpn/FileSelect.java @@ -15,6 +15,7 @@ import android.app.Fragment; import android.app.FragmentTransaction; import android.content.Intent; import android.os.Bundle; +import android.os.Environment; public class FileSelect extends Activity { public static final String RESULT_DATA = "RESULT_PATH"; @@ -36,7 +37,7 @@ public class FileSelect extends Activity { mData = getIntent().getStringExtra(START_DATA); if(mData==null) - mData="/sdcard"; + mData=Environment.getExternalStorageDirectory().getPath(); String title = getIntent().getStringExtra(WINDOW_TITLE); int titleId = getIntent().getIntExtra(WINDOW_TITLE, 0); |