summaryrefslogtreecommitdiff
path: root/src/de/blinkt/openvpn/Settings_Authentication.java
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2012-05-25 09:28:18 +0200
committerArne Schwabe <arne@rfc2549.org>2012-05-25 09:28:18 +0200
commit7aab2ed1a75b29c40c0f83b1d48d889b02deb61f (patch)
treecc6e5a78b238c8e424276c37e3681485bc5d0e6e /src/de/blinkt/openvpn/Settings_Authentication.java
parent8606c50fb2b9715fc9a70033aafcdec6b61cea5c (diff)
Fix errors reported by lint
Diffstat (limited to 'src/de/blinkt/openvpn/Settings_Authentication.java')
-rw-r--r--src/de/blinkt/openvpn/Settings_Authentication.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/de/blinkt/openvpn/Settings_Authentication.java b/src/de/blinkt/openvpn/Settings_Authentication.java
index b2e84087..6733ed0c 100644
--- a/src/de/blinkt/openvpn/Settings_Authentication.java
+++ b/src/de/blinkt/openvpn/Settings_Authentication.java
@@ -3,6 +3,7 @@ package de.blinkt.openvpn;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
+import android.os.Environment;
import android.preference.CheckBoxPreference;
import android.preference.EditTextPreference;
import android.preference.ListPreference;
@@ -102,7 +103,7 @@ public class Settings_Authentication extends OpenVpnPreferencesFragment implemen
}
void startFileDialog() {
Intent startFC = new Intent(getActivity(),FileSelect.class);
- startFC.putExtra(FileSelect.START_DATA, "/sdcard");
+ startFC.putExtra(FileSelect.START_DATA, Environment.getExternalStorageDirectory().getPath());
startActivityForResult(startFC,SELECT_TLS_FILE);
}