diff options
author | Arne Schwabe <arne@rfc2549.org> | 2012-05-11 01:17:01 +0200 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2012-05-11 01:17:01 +0200 |
commit | 82940714ebe944e63ed70c745e1abe950673fe5b (patch) | |
tree | 8dfcf9627b5db22ffdf3ebe37d7c0529f0fb6fe9 /src/de/blinkt/openvpn/Settings_Authentication.java | |
parent | 480535d1de23e30780b3ae5a166cdc59a22a2adc (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.java | 3 |
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 |