aboutsummaryrefslogtreecommitdiffstats
path: root/src/eu/siacs/conversations/services
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel@gultsch.de>2014-03-08 06:25:35 +0100
committerDaniel Gultsch <daniel@gultsch.de>2014-03-08 06:25:35 +0100
commitaa31732ea3b66201780975eae3305c9e80cc2d11 (patch)
tree3bc36d403a85250722ac05e70dccad891d8695f1 /src/eu/siacs/conversations/services
parent83c5fdaf0efcb3c85c0d753b347d0a53c7ac9495 (diff)
last part. update notification if user reads them
Diffstat (limited to 'src/eu/siacs/conversations/services')
-rw-r--r--src/eu/siacs/conversations/services/XmppConnectionService.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/eu/siacs/conversations/services/XmppConnectionService.java b/src/eu/siacs/conversations/services/XmppConnectionService.java
index 337f928c..64a93ea4 100644
--- a/src/eu/siacs/conversations/services/XmppConnectionService.java
+++ b/src/eu/siacs/conversations/services/XmppConnectionService.java
@@ -164,10 +164,7 @@ public class XmppConnectionService extends Service {
if (convChangedListener != null) {
convChangedListener.onConversationListChanged();
} else {
- NotificationManager mNotificationManager = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
- mNotificationManager.notify(2342, UIHelper
- .getNotification(
- getApplicationContext(),getConversations(),notify));
+ UIHelper.updateNotification(getApplicationContext(), getConversations(), notify);
}
}
};