diff options
author | andy <andy@strb.org> | 2014-04-12 01:36:44 +0200 |
---|---|---|
committer | andy <andy@strb.org> | 2014-04-12 03:46:54 +0200 |
commit | c2307337368e37fc3c7fec7d4b2e5cdf3be47212 (patch) | |
tree | adc61cb40591a84ee0228f8b5167afbd4d7f73da /src/eu/siacs/conversations/ui/ConversationActivity.java | |
parent | 3d6f03e859cfc4727c68bfda424b58228f4ffa61 (diff) |
More Contact Picture refactors
Use polymorphism to avoid dynamic dispatch based on nulled parameters.
Next up: Prettier MUC icons
Diffstat (limited to 'src/eu/siacs/conversations/ui/ConversationActivity.java')
-rw-r--r-- | src/eu/siacs/conversations/ui/ConversationActivity.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/eu/siacs/conversations/ui/ConversationActivity.java b/src/eu/siacs/conversations/ui/ConversationActivity.java index 06a72689..20d83961 100644 --- a/src/eu/siacs/conversations/ui/ConversationActivity.java +++ b/src/eu/siacs/conversations/ui/ConversationActivity.java @@ -164,8 +164,7 @@ public class ConversationActivity extends XmppActivity { ImageView imageView = (ImageView) view .findViewById(R.id.conversation_image); imageView.setImageBitmap(UIHelper.getContactPicture( - conv.getContact(), conv.getName(useSubject), 200, - activity.getApplicationContext())); + conv, 200, activity.getApplicationContext())); return view; } |