mirror of
https://github.com/oxen-io/session-android.git
synced 2025-10-25 22:59:25 +00:00
Working bluetooth
// FREEBIE
This commit is contained in:
@@ -38,6 +38,6 @@ public class GeneratedContactPhoto implements ContactPhoto {
|
||||
|
||||
@Override
|
||||
public Drawable asCallCard(Context context) {
|
||||
return context.getDrawable(R.drawable.ic_contact_picture);
|
||||
return context.getResources().getDrawable(R.drawable.ic_contact_picture);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -42,7 +42,7 @@ public class ResourceContactPhoto implements ContactPhoto {
|
||||
|
||||
@Override
|
||||
public Drawable asCallCard(Context context) {
|
||||
return context.getDrawable(resourceId);
|
||||
return context.getResources().getDrawable(resourceId);
|
||||
}
|
||||
|
||||
private static class ExpandingLayerDrawable extends LayerDrawable {
|
||||
|
||||
@@ -23,6 +23,6 @@ public class TransparentContactPhoto implements ContactPhoto {
|
||||
|
||||
@Override
|
||||
public Drawable asCallCard(Context context) {
|
||||
return context.getDrawable(R.drawable.ic_contact_picture);
|
||||
return context.getResources().getDrawable(R.drawable.ic_contact_picture);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user