diff options
author | Arne Schwabe <arne@rfc2549.org> | 2013-11-07 17:48:18 +0100 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2013-11-07 17:48:18 +0100 |
commit | e66b35409cff37433af11693673145406029356f (patch) | |
tree | ba30da82879aae8e5ad82c56f6deb65969504ae0 /src/de/blinkt/openvpn/core | |
parent | 0c74ea4a9cbb3b854d75745120e7c868d0e1dcec (diff) |
I think the hacks that were needed for earlier Android version should not be needed anymore. Don’t show them in the General settings menu.
Diffstat (limited to 'src/de/blinkt/openvpn/core')
-rw-r--r-- | src/de/blinkt/openvpn/core/OpenVpnService.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/de/blinkt/openvpn/core/OpenVpnService.java b/src/de/blinkt/openvpn/core/OpenVpnService.java index 92e44e53..e4437d2c 100644 --- a/src/de/blinkt/openvpn/core/OpenVpnService.java +++ b/src/de/blinkt/openvpn/core/OpenVpnService.java @@ -480,7 +480,9 @@ public class OpenVpnService extends VpnService implements StateListener, Callbac } catch (Exception e) { VpnStatus.logError(R.string.tun_open_error); VpnStatus.logError(getString(R.string.error) + e.getLocalizedMessage()); - VpnStatus.logError(R.string.tun_error_helpful); + if (Build.VERSION.SDK_INT <= Build.VERSION_CODES.JELLY_BEAN_MR1) { + VpnStatus.logError(R.string.tun_error_helpful); + } return null; } |