diff options
author | Daniel Gultsch <daniel@gultsch.de> | 2014-03-11 15:44:22 +0100 |
---|---|---|
committer | Daniel Gultsch <daniel@gultsch.de> | 2014-03-11 15:44:22 +0100 |
commit | 0d516b060354f577ff52ce2d3bb73f56557b87d1 (patch) | |
tree | b77371f78047f4dcae10a8402c4ba00085cbae68 /src/eu/siacs/conversations/ui | |
parent | 08023210ba875f3cd088eca2b4b3df7410966344 (diff) |
ping stuff
Diffstat (limited to 'src/eu/siacs/conversations/ui')
-rw-r--r-- | src/eu/siacs/conversations/ui/XmppActivity.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/eu/siacs/conversations/ui/XmppActivity.java b/src/eu/siacs/conversations/ui/XmppActivity.java index 2f1b1d502..1596a53a6 100644 --- a/src/eu/siacs/conversations/ui/XmppActivity.java +++ b/src/eu/siacs/conversations/ui/XmppActivity.java @@ -42,8 +42,9 @@ public abstract class XmppActivity extends Activity { protected void onStart() { super.onStart(); if (!xmppConnectionServiceBound) { - startService(new Intent(this, XmppConnectionService.class)); Intent intent = new Intent(this, XmppConnectionService.class); + intent.setAction("ui"); + startService(intent); bindService(intent, mConnection, Context.BIND_AUTO_CREATE); } } |