Use high-res callcard for TransparentContactPhoto

Closes #5228

// FREEBIE
This commit is contained in:
haffenloher 2016-02-14 20:29:27 +01:00 committed by Moxie Marlinspike
parent ec922704f4
commit 4168092f5d

View File

@ -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);
}
}