kopia lustrzana https://github.com/ryukoposting/Signal-Android
Fix for contact lookup on GB.
rodzic
c775dfa580
commit
110b436ea2
Plik binarny nie jest wyświetlany.
|
@ -75,7 +75,8 @@ public class NewRecipientProvider extends RecipientProvider {
|
||||||
try {
|
try {
|
||||||
if (cursor != null && cursor.moveToFirst()) {
|
if (cursor != null && cursor.moveToFirst()) {
|
||||||
Uri contactUri = Contacts.getLookupUri(cursor.getLong(2), cursor.getString(1));
|
Uri contactUri = Contacts.getLookupUri(cursor.getLong(2), cursor.getString(1));
|
||||||
Bitmap contactPhoto = getContactPhoto(context, contactUri);
|
Bitmap contactPhoto = getContactPhoto(context, Uri.withAppendedPath(Contacts.CONTENT_URI,
|
||||||
|
cursor.getLong(2)+""));
|
||||||
|
|
||||||
Recipient recipient = new Recipient(cursor.getString(0), number, contactUri, contactPhoto);
|
Recipient recipient = new Recipient(cursor.getString(0), number, contactUri, contactPhoto);
|
||||||
return recipient;
|
return recipient;
|
||||||
|
|
Ładowanie…
Reference in New Issue