We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a984166 commit 1502f0bCopy full SHA for 1502f0b
OneSignalSDK/app/src/test/java/com/onesignal/ShadowBadgeCountUpdater.java
@@ -40,6 +40,8 @@ public class ShadowBadgeCountUpdater {
40
41
static void updateCount(int count, Context context) {
42
lastCount = count;
43
- ShortcutBadger.applyCount(context, count);
+ try {
44
+ ShortcutBadger.applyCount(context, count);
45
+ } catch(Throwable t) {}
46
}
47
0 commit comments