add logging when swiping away from recents is being ignored
This commit is contained in:
parent
3c48b14448
commit
1b114beb0b
|
@ -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");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue