From 1b114beb0b21e3ddd2aedaa50092fc609bdba8c2 Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Sun, 31 Jul 2016 22:32:10 +0200 Subject: add logging when swiping away from recents is being ignored --- .../java/eu/siacs/conversations/services/XmppConnectionService.java | 2 ++ 1 file changed, 2 insertions(+) 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"); } } -- cgit v1.2.3