From 4168092f5d2a796e2d914d09ac758f3ff85d4aea Mon Sep 17 00:00:00 2001 From: haffenloher Date: Sun, 14 Feb 2016 20:29:27 +0100 Subject: [PATCH] Use high-res callcard for TransparentContactPhoto Closes #5228 // FREEBIE --- .../securesms/contacts/avatars/TransparentContactPhoto.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/org/thoughtcrime/securesms/contacts/avatars/TransparentContactPhoto.java b/src/org/thoughtcrime/securesms/contacts/avatars/TransparentContactPhoto.java index d5c408528e..7fa499ea61 100644 --- a/src/org/thoughtcrime/securesms/contacts/avatars/TransparentContactPhoto.java +++ b/src/org/thoughtcrime/securesms/contacts/avatars/TransparentContactPhoto.java @@ -2,6 +2,7 @@ package org.thoughtcrime.securesms.contacts.avatars; import android.content.Context; import android.graphics.drawable.Drawable; +import android.support.v4.content.ContextCompat; import com.makeramen.roundedimageview.RoundedDrawable; @@ -23,6 +24,6 @@ public class TransparentContactPhoto implements ContactPhoto { @Override public Drawable asCallCard(Context context) { - return context.getResources().getDrawable(R.drawable.ic_contact_picture); + return ContextCompat.getDrawable(context, R.drawable.ic_contact_picture_large); } }