summaryrefslogtreecommitdiff
path: root/src/de/blinkt/openvpn/fragments/ShowConfigFragment.java
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2013-08-07 00:05:02 +0200
committerArne Schwabe <arne@rfc2549.org>2013-08-07 00:05:02 +0200
commitbe8b263f543530eb2142f362d0d7346f013c57c3 (patch)
tree339b27c8cbfc6a1e0a79039afafa374805ae083c /src/de/blinkt/openvpn/fragments/ShowConfigFragment.java
parent5e857c81eb31b4f1f445cffc28b575359993e38d (diff)
Always pass context when retrieving vpn config, don't try JB+ extra on ICS (closes issue #188)
Diffstat (limited to 'src/de/blinkt/openvpn/fragments/ShowConfigFragment.java')
-rw-r--r--src/de/blinkt/openvpn/fragments/ShowConfigFragment.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/de/blinkt/openvpn/fragments/ShowConfigFragment.java b/src/de/blinkt/openvpn/fragments/ShowConfigFragment.java
index ad077633..bf673288 100644
--- a/src/de/blinkt/openvpn/fragments/ShowConfigFragment.java
+++ b/src/de/blinkt/openvpn/fragments/ShowConfigFragment.java
@@ -20,7 +20,7 @@ public class ShowConfigFragment extends Fragment {
public android.view.View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
{
String profileUUID = getArguments().getString(getActivity().getPackageName() + ".profileUUID");
- final VpnProfile vp = ProfileManager.get(profileUUID);
+ final VpnProfile vp = ProfileManager.get(getActivity(),profileUUID);
View v=inflater.inflate(R.layout.viewconfig, container,false);
final TextView cv = (TextView) v.findViewById(R.id.configview);