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/LogWindow.java | |
parent | bab6645cfb1eb9321e67482d862314a1dbf14f95 (diff) |
Refactor ConnectionStatus to be an enumerationv0.5.32
--HG--
extra : rebase_source : 6cf34d83b33bdb25d2311ad9adaa446ac0aac823
Diffstat (limited to 'src/de/blinkt/openvpn/LogWindow.java')
-rw-r--r-- | src/de/blinkt/openvpn/LogWindow.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/de/blinkt/openvpn/LogWindow.java b/src/de/blinkt/openvpn/LogWindow.java index c7bbe6ac..151b2c5b 100644 --- a/src/de/blinkt/openvpn/LogWindow.java +++ b/src/de/blinkt/openvpn/LogWindow.java @@ -34,6 +34,7 @@ import android.widget.ListAdapter; import android.widget.ListView; import android.widget.TextView; import android.widget.Toast; +import de.blinkt.openvpn.OpenVPN.ConnectionStatus; import de.blinkt.openvpn.OpenVPN.LogItem; import de.blinkt.openvpn.OpenVPN.LogListener; import de.blinkt.openvpn.OpenVPN.StateListener; @@ -404,7 +405,7 @@ public class LogWindow extends ListActivity implements StateListener { } @Override - public void updateState(final String status,final String logmessage, final int resid, final int level) { + public void updateState(final String status,final String logmessage, final int resid, final ConnectionStatus level) { runOnUiThread(new Runnable() { @Override |