diff options
author | Arne Schwabe <arne@rfc2549.org> | 2013-02-26 23:12:44 +0100 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2013-02-26 23:12:44 +0100 |
commit | 428ef31f6a1de54cd6e3c20264f5ab411a076aaa (patch) | |
tree | 1ef2ebe6b3364529d712efe27a0eef8e55744dbb /src/de/blinkt/openvpn/OpenVPNThread.java | |
parent | bab6645cfb1eb9321e67482d862314a1dbf14f95 (diff) |
Refactor ConnectionStatus to be an enumerationv0.5.32
--HG--
extra : rebase_source : 6cf34d83b33bdb25d2311ad9adaa446ac0aac823
Diffstat (limited to 'src/de/blinkt/openvpn/OpenVPNThread.java')
-rw-r--r-- | src/de/blinkt/openvpn/OpenVPNThread.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/de/blinkt/openvpn/OpenVPNThread.java b/src/de/blinkt/openvpn/OpenVPNThread.java index cbaab234..ca7ed068 100644 --- a/src/de/blinkt/openvpn/OpenVPNThread.java +++ b/src/de/blinkt/openvpn/OpenVPNThread.java @@ -12,6 +12,7 @@ import java.util.LinkedList; import java.util.Locale;
import android.util.Log;
+import de.blinkt.openvpn.OpenVPN.ConnectionStatus;
import de.blinkt.openvpn.OpenVPN.LogItem;
public class OpenVPNThread implements Runnable {
@@ -57,7 +58,7 @@ public class OpenVPNThread implements Runnable { if( exitvalue != 0)
OpenVPN.logError("Process exited with exit value " + exitvalue);
- OpenVPN.updateStateString("NOPROCESS","No process running.", R.string.state_noprocess,OpenVPN.LEVEL_NOTCONNECTED);
+ OpenVPN.updateStateString("NOPROCESS","No process running.", R.string.state_noprocess,ConnectionStatus.LEVEL_NOTCONNECTED);
if(mDumpPath!=null) {
try {
BufferedWriter logout = new BufferedWriter(new FileWriter(mDumpPath + ".log"));
|