diff options
author | Daniel Gultsch <daniel@gultsch.de> | 2014-03-08 06:25:35 +0100 |
---|---|---|
committer | Daniel Gultsch <daniel@gultsch.de> | 2014-03-08 06:25:35 +0100 |
commit | aa31732ea3b66201780975eae3305c9e80cc2d11 (patch) | |
tree | 3bc36d403a85250722ac05e70dccad891d8695f1 /src/eu/siacs/conversations/services | |
parent | 83c5fdaf0efcb3c85c0d753b347d0a53c7ac9495 (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.java | 5 |
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); } } }; |