summaryrefslogtreecommitdiff
path: root/src/de/blinkt/openvpn/Settings_Authentication.java
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2012-05-11 01:17:01 +0200
committerArne Schwabe <arne@rfc2549.org>2012-05-11 01:17:01 +0200
commit0291c756696f9ef5a8e2a23ed3b4b1ff79e91e08 (patch)
tree8dfcf9627b5db22ffdf3ebe37d7c0529f0fb6fe9 /src/de/blinkt/openvpn/Settings_Authentication.java
parentbfb51aa744b09b248daacd3ada8f04e6c6f7d5a5 (diff)
CLeanups
Fix backtrace from market console, I suspect someone tried IPv6 and I failed him/her :(
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 003a26dd..5849923d 100644
--- a/src/de/blinkt/openvpn/Settings_Authentication.java
+++ b/src/de/blinkt/openvpn/Settings_Authentication.java
@@ -106,7 +106,7 @@ public class Settings_Authentication extends PreferenceFragment implements OnPre
return true;
}
void startFileDialog() {
- Intent startFC = new Intent(getActivity(),FileSelectionFragment.class);
+ Intent startFC = new Intent(getActivity(),FileSelect.class);
startFC.putExtra(FileSelect.START_DATA, "/sdcard");
startActivityForResult(startFC,SELECT_TLS_FILE);
@@ -130,6 +130,7 @@ public class Settings_Authentication extends PreferenceFragment implements OnPre
}
private void setTlsAuthSummary(String result) {
+ if(result==null) result = getString(R.string.no_certificate);
if(result.startsWith(FileSelect.INLINE_TAG))
mTLSAuthFile.setSummary(R.string.inline_file_data);
else