From 692875b3b3afa7408714ccb31ef73099757dc1ee Mon Sep 17 00:00:00 2001 From: Arne Schwabe Date: Sat, 8 Jun 2013 17:32:17 +0200 Subject: Fix icon displayed in the notification bar. Using a Leveldrawable does not work as expected. --- src/de/blinkt/openvpn/core/OpenVPN.java | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'src/de/blinkt/openvpn/core/OpenVPN.java') diff --git a/src/de/blinkt/openvpn/core/OpenVPN.java b/src/de/blinkt/openvpn/core/OpenVPN.java index 982a1e62..450a13ea 100644 --- a/src/de/blinkt/openvpn/core/OpenVPN.java +++ b/src/de/blinkt/openvpn/core/OpenVPN.java @@ -1,16 +1,5 @@ package de.blinkt.openvpn.core; -import java.io.ByteArrayInputStream; -import java.security.MessageDigest; -import java.security.NoSuchAlgorithmException; -import java.security.cert.CertificateException; -import java.security.cert.CertificateFactory; -import java.security.cert.X509Certificate; -import java.util.Arrays; -import java.util.LinkedList; -import java.util.Locale; -import java.util.Vector; - import android.annotation.SuppressLint; import android.content.Context; import android.content.pm.PackageInfo; @@ -22,6 +11,17 @@ import android.os.Parcel; import android.os.Parcelable; import de.blinkt.openvpn.R; +import java.io.ByteArrayInputStream; +import java.security.MessageDigest; +import java.security.NoSuchAlgorithmException; +import java.security.cert.CertificateException; +import java.security.cert.CertificateFactory; +import java.security.cert.X509Certificate; +import java.util.Arrays; +import java.util.LinkedList; +import java.util.Locale; +import java.util.Vector; + public class OpenVPN { @@ -50,7 +50,7 @@ public class OpenVPN { LEVEL_CONNECTING_NO_SERVER_REPLY_YET (2), LEVEL_CONNECTED (0), UNKNOWN_LEVEL(-1); - public final int level; + private final int level; ConnectionStatus(int level){ this.level = level; -- cgit v1.2.3