Fix for self-photo lookup bug on 2.3
This commit is contained in:
parent
6acf4ba3f6
commit
edb466ae86
1 changed files with 2 additions and 1 deletions
|
@ -49,7 +49,8 @@ public class NewRecipientProvider extends RecipientProvider {
|
|||
if (cursor.moveToFirst()) {
|
||||
long rowId = cursor.getLong(0);
|
||||
Uri contactUri = Contacts.getLookupUri(rowId, cursor.getString(2));
|
||||
Bitmap contactPhoto = getContactPhoto(context, contactUri);
|
||||
Bitmap contactPhoto = getContactPhoto(context, Uri.withAppendedPath(Contacts.CONTENT_URI,
|
||||
rowId+""));
|
||||
String displayName = cursor.getString(1);
|
||||
cursor.close();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue