aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/eu/siacs
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel@gultsch.de>2016-03-28 14:15:35 +0200
committerDaniel Gultsch <daniel@gultsch.de>2016-03-28 14:15:35 +0200
commitd115f38361fdbe97e183b4b9055b8ecad24ae005 (patch)
treefd4b85aad58a44f61fa11195c359b2ead18cd9fa /src/main/java/eu/siacs
parent46be514b4db1cb8c17037ac6cd307078e4794a12 (diff)
parent1d458e8ab3db775f74404cc9e58d4ec22cc07010 (diff)
Merge pull request #1784 from kriztan/patch-2
Update ShortcutBadger to version 1.1.4
Diffstat (limited to 'src/main/java/eu/siacs')
-rw-r--r--src/main/java/eu/siacs/conversations/services/XmppConnectionService.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java b/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java
index 2159e92e..bf498bc6 100644
--- a/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java
+++ b/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java
@@ -2809,9 +2809,9 @@ public class XmppConnectionService extends Service implements OnPhoneContactsLoa
if (unreadCount != count) {
Log.d(Config.LOGTAG, "update unread count to " + count);
if (count > 0) {
- ShortcutBadger.with(getApplicationContext()).count(count);
+ ShortcutBadger.applyCount(getApplicationContext(), count);
} else {
- ShortcutBadger.with(getApplicationContext()).remove();
+ ShortcutBadger.removeCount(getApplicationContext());
}
unreadCount = count;
}