From 901ce085a7df579b9c8c402b8af59a7ce7233044 Mon Sep 17 00:00:00 2001 From: Andreas Straub Date: Sun, 13 Apr 2014 20:41:06 +0200 Subject: Major Contact Picture code cleanup Notifications now have pseudotransparent icons, icons are generated in the correct size. --- src/eu/siacs/conversations/ui/ConversationFragment.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/eu/siacs/conversations/ui/ConversationFragment.java') diff --git a/src/eu/siacs/conversations/ui/ConversationFragment.java b/src/eu/siacs/conversations/ui/ConversationFragment.java index 3796f83e..61843b82 100644 --- a/src/eu/siacs/conversations/ui/ConversationFragment.java +++ b/src/eu/siacs/conversations/ui/ConversationFragment.java @@ -333,7 +333,7 @@ public class ConversationFragment extends Fragment { boolean showPhoneSelfContactPicture = sharedPref.getBoolean( "show_phone_selfcontact_picture", true); - return UIHelper.getSelfContactPicture(conversation.getAccount(), 200, + return UIHelper.getSelfContactPicture(conversation.getAccount(), 48, showPhoneSelfContactPicture, getActivity()); } @@ -616,9 +616,9 @@ public class ConversationFragment extends Fragment { } else { Bitmap bm; if (contact != null){ - bm = UIHelper.getContactPicture(contact, 200, context); + bm = UIHelper.getContactPicture(contact, 48, context, false); } else { - bm = UIHelper.getContactPicture(name, 200, context); + bm = UIHelper.getContactPicture(name, 48, context, false); } bitmaps.put(name, bm); return bm; -- cgit v1.2.3