aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/eu
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel@gultsch.de>2016-07-31 22:32:10 +0200
committerDaniel Gultsch <daniel@gultsch.de>2016-07-31 22:32:10 +0200
commit1b114beb0b21e3ddd2aedaa50092fc609bdba8c2 (patch)
tree85125e52daf716b0fc4cf61a2858ee61fb8dd3bc /src/main/java/eu
parent3c48b144483376c266dd323c179e92ec4b118d08 (diff)
add logging when swiping away from recents is being ignored
Diffstat (limited to 'src/main/java/eu')
-rw-r--r--src/main/java/eu/siacs/conversations/services/XmppConnectionService.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java b/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java
index 01aa5a60..ed0b32fb 100644
--- a/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java
+++ b/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java
@@ -846,6 +846,8 @@ public class XmppConnectionService extends Service {
super.onTaskRemoved(rootIntent);
if (!getPreferences().getBoolean("keep_foreground_service", false)) {
this.logoutAndSave(false);
+ } else {
+ Log.d(Config.LOGTAG,"ignoring onTaskRemoved because foreground service is activated");
}
}