~singpolyma/cheogram-android

781638145f3a426337c5bc6e7bdab5db01604120 — Stephen Paul Weber 4 months ago f5aeab7
Use IconCompat
1 files changed, 1 insertions(+), 1 deletions(-)

M src/main/java/eu/siacs/conversations/services/ShortcutService.java
M src/main/java/eu/siacs/conversations/services/ShortcutService.java => src/main/java/eu/siacs/conversations/services/ShortcutService.java +1 -1
@@ 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();
    }