summaryrefslogtreecommitdiff
path: root/src/de/blinkt/openvpn/api/ExternalOpenVPNService.java
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2013-04-07 14:05:05 +0200
committerArne Schwabe <arne@rfc2549.org>2013-04-07 14:05:05 +0200
commit195b0a10d96ad358d956381d8a0e423a8dd913c7 (patch)
tree5f62da8410bc08b50e8784ff94231cccbfcb8fb1 /src/de/blinkt/openvpn/api/ExternalOpenVPNService.java
parent3b68ac89cd679f134681204e0d1bb40d6dbf7879 (diff)
Allow clearing of external apps
Diffstat (limited to 'src/de/blinkt/openvpn/api/ExternalOpenVPNService.java')
-rw-r--r--src/de/blinkt/openvpn/api/ExternalOpenVPNService.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/de/blinkt/openvpn/api/ExternalOpenVPNService.java b/src/de/blinkt/openvpn/api/ExternalOpenVPNService.java
index fff6c34f..9e6ac9f3 100644
--- a/src/de/blinkt/openvpn/api/ExternalOpenVPNService.java
+++ b/src/de/blinkt/openvpn/api/ExternalOpenVPNService.java
@@ -244,7 +244,9 @@ public class ExternalOpenVPNService extends Service implements StateListener {
@Override
public void updateState (String state, String logmessage, int resid, ConnectionStatus level) {
mMostRecentState = new UpdateMessage(state, logmessage, level);
- mHandler.obtainMessage(SEND_TOALL, mMostRecentState);
+ Message msg = mHandler.obtainMessage(SEND_TOALL, mMostRecentState);
+ msg.sendToTarget();
+
}
private static final Handler mHandler = new Handler() {