add logging when swiping away from recents is being ignored

This commit is contained in:
Daniel Gultsch 2016-07-31 22:32:10 +02:00
parent 3c48b14448
commit 1b114beb0b

View File

@ -846,6 +846,8 @@ public class XmppConnectionService extends Service {
super.onTaskRemoved(rootIntent); super.onTaskRemoved(rootIntent);
if (!getPreferences().getBoolean("keep_foreground_service", false)) { if (!getPreferences().getBoolean("keep_foreground_service", false)) {
this.logoutAndSave(false); this.logoutAndSave(false);
} else {
Log.d(Config.LOGTAG,"ignoring onTaskRemoved because foreground service is activated");
} }
} }