aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian S <kriztan@users.noreply.github.com>2016-03-27 20:02:36 +0200
committerChristian S <christian@pix-art.de>2016-03-27 20:17:51 +0200
commit1d458e8ab3db775f74404cc9e58d4ec22cc07010 (patch)
treefd4b85aad58a44f61fa11195c359b2ead18cd9fa
parent46be514b4db1cb8c17037ac6cd307078e4794a12 (diff)
Update ShortcutBadger to version 1.1.4
Diffstat (limited to '')
-rw-r--r--build.gradle2
-rw-r--r--src/main/java/eu/siacs/conversations/services/XmppConnectionService.java4
2 files changed, 3 insertions, 3 deletions
diff --git a/build.gradle b/build.gradle
index d190dd09..662cb12a 100644
--- a/build.gradle
+++ b/build.gradle
@@ -44,7 +44,7 @@ dependencies {
compile 'com.google.zxing:android-integration:3.2.1'
compile 'de.measite.minidns:minidns:0.1.7'
compile 'de.timroes.android:EnhancedListView:0.3.4'
- compile 'me.leolin:ShortcutBadger:1.1.3@aar'
+ compile 'me.leolin:ShortcutBadger:1.1.4@aar'
compile 'com.kyleduo.switchbutton:library:1.2.8'
compile 'org.whispersystems:axolotl-android:1.3.4'
compile 'com.makeramen:roundedimageview:2.2.0'
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;
}