aboutsummaryrefslogtreecommitdiffstats
path: root/src/eu/siacs/conversations/ui/ConversationFragment.java
diff options
context:
space:
mode:
authorAndreas Straub <andy@strb.org>2014-04-13 20:41:06 +0200
committerAndreas Straub <andy@strb.org>2014-04-13 21:13:37 +0200
commit901ce085a7df579b9c8c402b8af59a7ce7233044 (patch)
treedfd92ceacdfff6855eb95cc58571be1b424a104f /src/eu/siacs/conversations/ui/ConversationFragment.java
parent084ab51b1d7625cdf1cca4cc6a31715acffe5ce7 (diff)
Major Contact Picture code cleanup
Notifications now have pseudotransparent icons, icons are generated in the correct size.
Diffstat (limited to 'src/eu/siacs/conversations/ui/ConversationFragment.java')
-rw-r--r--src/eu/siacs/conversations/ui/ConversationFragment.java6
1 files changed, 3 insertions, 3 deletions
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;