From be8b263f543530eb2142f362d0d7346f013c57c3 Mon Sep 17 00:00:00 2001 From: Arne Schwabe Date: Wed, 7 Aug 2013 00:05:02 +0200 Subject: Always pass context when retrieving vpn config, don't try JB+ extra on ICS (closes issue #188) --- src/de/blinkt/openvpn/fragments/ShowConfigFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/de/blinkt/openvpn/fragments/ShowConfigFragment.java') 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); -- cgit v1.2.3