aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel@gultsch.de>2016-08-26 21:13:33 +0200
committerDaniel Gultsch <daniel@gultsch.de>2016-08-26 21:13:33 +0200
commitea0e6d061945b98357275ed5d9351ffa846c451d (patch)
tree45d8d5e14e4e87dd7bdd4e1d44a51a3722969cff /src
parentad994a2f4ce3add0b58201cedb2e6e5afec1071f (diff)
don't set notification mode to background when on pause
Diffstat (limited to '')
-rw-r--r--src/main/java/eu/siacs/conversations/ui/ConversationActivity.java6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/main/java/eu/siacs/conversations/ui/ConversationActivity.java b/src/main/java/eu/siacs/conversations/ui/ConversationActivity.java
index b1d8fec8..6ee7f737 100644
--- a/src/main/java/eu/siacs/conversations/ui/ConversationActivity.java
+++ b/src/main/java/eu/siacs/conversations/ui/ConversationActivity.java
@@ -1066,9 +1066,6 @@ public class ConversationActivity extends XmppActivity
listView.discardUndo();
super.onPause();
this.mActivityPaused = true;
- if (this.xmppConnectionServiceBound) {
- this.xmppConnectionService.getNotificationService().setIsInForeground(false);
- }
}
@Override
@@ -1080,9 +1077,6 @@ public class ConversationActivity extends XmppActivity
recreate();
}
this.mActivityPaused = false;
- if (this.xmppConnectionServiceBound) {
- this.xmppConnectionService.getNotificationService().setIsInForeground(true);
- }
if (!isConversationsOverviewVisable() || !isConversationsOverviewHideable()) {
sendReadMarkerIfNecessary(getSelectedConversation());