don't set notification mode to background when on pause
This commit is contained in:
parent
ad994a2f4c
commit
ea0e6d0619
|
@ -1066,9 +1066,6 @@ public class ConversationActivity extends XmppActivity
|
||||||
listView.discardUndo();
|
listView.discardUndo();
|
||||||
super.onPause();
|
super.onPause();
|
||||||
this.mActivityPaused = true;
|
this.mActivityPaused = true;
|
||||||
if (this.xmppConnectionServiceBound) {
|
|
||||||
this.xmppConnectionService.getNotificationService().setIsInForeground(false);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -1080,9 +1077,6 @@ public class ConversationActivity extends XmppActivity
|
||||||
recreate();
|
recreate();
|
||||||
}
|
}
|
||||||
this.mActivityPaused = false;
|
this.mActivityPaused = false;
|
||||||
if (this.xmppConnectionServiceBound) {
|
|
||||||
this.xmppConnectionService.getNotificationService().setIsInForeground(true);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!isConversationsOverviewVisable() || !isConversationsOverviewHideable()) {
|
if (!isConversationsOverviewVisable() || !isConversationsOverviewHideable()) {
|
||||||
sendReadMarkerIfNecessary(getSelectedConversation());
|
sendReadMarkerIfNecessary(getSelectedConversation());
|
||||||
|
|
Loading…
Reference in New Issue