diff options
author | Christian Schneppe <christian@pix-art.de> | 2019-01-24 20:46:02 +0100 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2019-01-24 20:46:02 +0100 |
commit | 6b50aad97951561dca537ef5e3094b59a8c76ed1 (patch) | |
tree | 836803b7328dffd7aa5f986d5af18626fa75ee4b /src/main/java/de/pixart/messenger/services/ContactChooserTargetService.java | |
parent | 6d5c7fd4d625bc453e487335330282d4481c19ac (diff) |
use bitmap instead of URI for avatars in notification
Diffstat (limited to '')
-rw-r--r-- | src/main/java/de/pixart/messenger/services/ContactChooserTargetService.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/de/pixart/messenger/services/ContactChooserTargetService.java b/src/main/java/de/pixart/messenger/services/ContactChooserTargetService.java index 4c0aec3ca..e4a98d63a 100644 --- a/src/main/java/de/pixart/messenger/services/ContactChooserTargetService.java +++ b/src/main/java/de/pixart/messenger/services/ContactChooserTargetService.java @@ -42,7 +42,7 @@ public class ContactChooserTargetService extends ChooserTargetService implements } mXmppConnectionService.populateWithOrderedConversations(conversations, false); final ComponentName componentName = new ComponentName(this, ConversationsActivity.class); - final int pixel = (int) (48 * getResources().getDisplayMetrics().density); + final int pixel = AvatarService.getSystemUiAvatarSize(this); for (Conversation conversation : conversations) { if (conversation.sentMessagesCount() == 0) { continue; |