diff --git a/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java b/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java index 01aa5a607..ed0b32fb8 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"); } }