aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authoriNPUTmice <daniel@gultsch.de>2014-10-16 15:39:09 +0200
committeriNPUTmice <daniel@gultsch.de>2014-10-16 15:39:09 +0200
commit6cfb14a2e40b0ecf912f13d2a84af24b56d607cc (patch)
treef110ada031cfbefaf6ce45d1ee212cb63f212f10 /src
parent45e0f99b8841ed64f70c29e5c986509693833f92 (diff)
forground/background logging without csi
Diffstat (limited to 'src')
-rw-r--r--src/eu/siacs/conversations/services/XmppConnectionService.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/eu/siacs/conversations/services/XmppConnectionService.java b/src/eu/siacs/conversations/services/XmppConnectionService.java
index 9a540df0..33bddae6 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() {