From 1a20bf712119d2a336ba9daa3abbc416a23a81d7 Mon Sep 17 00:00:00 2001 From: Arne Schwabe Date: Mon, 16 Jul 2012 04:29:35 +0200 Subject: Fixes error reported on the Android market console - setting 0.0.0.0 as DNS gives NP - Using a invalid keystone key gives a NP in rsa_sign (Seems to happen on 4.0 -> 4.1 upgrade) - stupid config converter bug introduced in 5.12 - bump version to 5.12a --- src/de/blinkt/openvpn/LaunchVPN.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/de/blinkt/openvpn/LaunchVPN.java') diff --git a/src/de/blinkt/openvpn/LaunchVPN.java b/src/de/blinkt/openvpn/LaunchVPN.java index 7c988b69..b057a392 100644 --- a/src/de/blinkt/openvpn/LaunchVPN.java +++ b/src/de/blinkt/openvpn/LaunchVPN.java @@ -340,7 +340,7 @@ public class LaunchVPN extends ListActivity implements OnItemClickListener { } void launchVPN () { - int vpnok = mSelectedProfile.checkProfile(); + int vpnok = mSelectedProfile.checkProfile(this); if(vpnok!= R.string.no_error_found) { showConfigErrorDialog(vpnok); return; @@ -398,8 +398,8 @@ public class LaunchVPN extends ListActivity implements OnItemClickListener { OpenVPN.logMessage(0, "", getString(R.string.building_configration)); Intent startVPN = mSelectedProfile.prepareIntent(getBaseContext()); - - startService(startVPN); + if(startVPN!=null) + startService(startVPN); finish(); } -- cgit v1.2.3