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/LogWindow.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/de/blinkt/openvpn/LogWindow.java') diff --git a/src/de/blinkt/openvpn/LogWindow.java b/src/de/blinkt/openvpn/LogWindow.java index 9a7e13fa..10f3c0ab 100644 --- a/src/de/blinkt/openvpn/LogWindow.java +++ b/src/de/blinkt/openvpn/LogWindow.java @@ -337,7 +337,7 @@ public class LogWindow extends ListActivity implements StateListener { if (requestCode == START_VPN_CONFIG && resultCode==RESULT_OK) { String configuredVPN = data.getStringExtra(VpnProfile.EXTRA_PROFILEUUID); - final VpnProfile profile = ProfileManager.get(configuredVPN); + final VpnProfile profile = ProfileManager.get(this,configuredVPN); ProfileManager.getInstance(this).saveProfile(this, profile); // Name could be modified, reset List adapter -- cgit v1.2.3