kopia lustrzana https://github.com/ryukoposting/Signal-Android
rodzic
74ce839bc1
commit
3bac3c6263
|
@ -504,7 +504,7 @@ public class MessageNotifier {
|
||||||
|
|
||||||
private static void updateBadge(Context context, int count) {
|
private static void updateBadge(Context context, int count) {
|
||||||
try {
|
try {
|
||||||
ShortcutBadger.setBadge(context, count);
|
ShortcutBadger.setBadge(context.getApplicationContext(), count);
|
||||||
} catch (Throwable t) {
|
} catch (Throwable t) {
|
||||||
// NOTE :: I don't totally trust this thing, so I'm catching
|
// NOTE :: I don't totally trust this thing, so I'm catching
|
||||||
// everything.
|
// everything.
|
||||||
|
|
Ładowanie…
Reference in New Issue