From 6cfb14a2e40b0ecf912f13d2a84af24b56d607cc Mon Sep 17 00:00:00 2001 From: iNPUTmice Date: Thu, 16 Oct 2014 15:39:09 +0200 Subject: [PATCH] forground/background logging without csi --- .../siacs/conversations/services/XmppConnectionService.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/eu/siacs/conversations/services/XmppConnectionService.java b/src/eu/siacs/conversations/services/XmppConnectionService.java index 9a540df03..33bddae6e 100644 --- a/src/eu/siacs/conversations/services/XmppConnectionService.java +++ b/src/eu/siacs/conversations/services/XmppConnectionService.java @@ -1110,11 +1110,10 @@ public class XmppConnectionService extends Service { XmppConnection connection = account.getXmppConnection(); if (connection != null && connection.getFeatures().csi()) { connection.sendActive(); - Log.d(Config.LOGTAG, account.getJid() - + " sending csi//active"); } } } + Log.d(Config.LOGTAG,"app switched into foreground"); } private void switchToBackground() { @@ -1123,11 +1122,10 @@ public class XmppConnectionService extends Service { XmppConnection connection = account.getXmppConnection(); if (connection != null && connection.getFeatures().csi()) { connection.sendInactive(); - Log.d(Config.LOGTAG, account.getJid() - + " sending csi//inactive"); } } } + Log.d(Config.LOGTAG,"app switched into background"); } private boolean isScreenOn() {