diff options
-rw-r--r-- | src/de/blinkt/openvpn/OpenVpnService.java | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/src/de/blinkt/openvpn/OpenVpnService.java b/src/de/blinkt/openvpn/OpenVpnService.java index 34f612c3..c2768347 100644 --- a/src/de/blinkt/openvpn/OpenVpnService.java +++ b/src/de/blinkt/openvpn/OpenVpnService.java @@ -342,24 +342,7 @@ public class OpenVpnService extends VpnService implements StateListener, Callbac } private OpenVPNMangement instantiateOpenVPN3Core() { - //new OpenVPNThreadv3(this,mProfile); - try { - Class cl = Class.forName("Lde/blinkt/openvpn/OpenVPNThreadv3;"); - return (OpenVPNMangement) cl.getConstructor(OpenVpnService.class,VpnProfile.class).newInstance(this,mProfile); - } catch (IllegalArgumentException e) { - e.printStackTrace(); - } catch (InstantiationException e) { - e.printStackTrace(); - } catch (IllegalAccessException e) { - e.printStackTrace(); - } catch (InvocationTargetException e) { - e.printStackTrace(); - } catch (NoSuchMethodException e) { - e.printStackTrace(); - } catch (ClassNotFoundException e) { - e.printStackTrace(); - } - return null; + return new OpenVPNThreadv3(this,mProfile); } @Override |