From 781638145f3a426337c5bc6e7bdab5db01604120 Mon Sep 17 00:00:00 2001 From: Stephen Paul Weber Date: Mon, 3 Jul 2023 11:48:52 -0500 Subject: [PATCH] Use IconCompat --- .../java/eu/siacs/conversations/services/ShortcutService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/eu/siacs/conversations/services/ShortcutService.java b/src/main/java/eu/siacs/conversations/services/ShortcutService.java index f807fbaa8bbc0934001adc007e702b7376f9fc25..7182bc3c2c8d9f67d896fe7a5a51e3da9ab980f5 100644 --- a/src/main/java/eu/siacs/conversations/services/ShortcutService.java +++ b/src/main/java/eu/siacs/conversations/services/ShortcutService.java @@ -96,7 +96,7 @@ public class ShortcutService { return new ShortcutInfoCompat.Builder(xmppConnectionService, getShortcutId(contact)) .setShortLabel(contact.getDisplayName()) .setIntent(getShortcutIntent(contact)) - .setIcon(IconCompat.createFromIcon(Icon.createWithBitmap(xmppConnectionService.getAvatarService().getRoundedShortcut(contact)))) + .setIcon(IconCompat.createWithBitmap(xmppConnectionService.getAvatarService().getRoundedShortcut(contact))) .setIsConversation() .build(); }