aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/pixart/messenger/services/ContactChooserTargetService.java
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2019-01-24 20:46:02 +0100
committerChristian Schneppe <christian@pix-art.de>2019-01-24 20:46:02 +0100
commit6b50aad97951561dca537ef5e3094b59a8c76ed1 (patch)
tree836803b7328dffd7aa5f986d5af18626fa75ee4b /src/main/java/de/pixart/messenger/services/ContactChooserTargetService.java
parent6d5c7fd4d625bc453e487335330282d4481c19ac (diff)
use bitmap instead of URI for avatars in notification
Diffstat (limited to 'src/main/java/de/pixart/messenger/services/ContactChooserTargetService.java')
-rw-r--r--src/main/java/de/pixart/messenger/services/ContactChooserTargetService.java2
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;