summaryrefslogtreecommitdiff
path: root/src/de/blinkt/openvpn/FileSelectLayout.java
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2013-07-03 14:10:59 +0200
committerArne Schwabe <arne@rfc2549.org>2013-07-03 14:10:59 +0200
commit56889cd25ff1762fca0e30d99eab0a572dbc2fab (patch)
tree0feba21e6fee1b30191e80a409e5bfebcd2eb7df /src/de/blinkt/openvpn/FileSelectLayout.java
parentd06b048b29d9e7f200bcb1d572b4572176b0beb7 (diff)
Restructure global settings
--HG-- extra : amend_source : 1b4e0ac86c557993b0195c4b1bad968f3f27aac1
Diffstat (limited to 'src/de/blinkt/openvpn/FileSelectLayout.java')
-rw-r--r--src/de/blinkt/openvpn/FileSelectLayout.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/de/blinkt/openvpn/FileSelectLayout.java b/src/de/blinkt/openvpn/FileSelectLayout.java
index d7bcc475..f5a01e10 100644
--- a/src/de/blinkt/openvpn/FileSelectLayout.java
+++ b/src/de/blinkt/openvpn/FileSelectLayout.java
@@ -66,7 +66,7 @@ public class FileSelectLayout extends LinearLayout implements OnClickListener {
return mData;
}
- public void setData(String data) {
+ public void setData(String data, Context c) {
mData = data;
if(data==null) {
mDataView.setText(mFragment.getString(R.string.no_data));
@@ -76,7 +76,7 @@ public class FileSelectLayout extends LinearLayout implements OnClickListener {
mDataView.setText(R.string.inline_file_data);
else
mDataView.setText(data);
- mDataDetails.setText(X509Utils.getCertificateFriendlyName(data));
+ mDataDetails.setText(X509Utils.getCertificateFriendlyName(c,data));
}
}