Fix caching of fallback contact icons.
The cache key must be consistent with how calcUnknownContactLetter() works, otherwise one gets the same fallback icon for different senders.
This commit is contained in:
parent
2b7f5e7b70
commit
aa798fad85
1 changed files with 1 additions and 1 deletions
|
@ -128,7 +128,7 @@ public class ContactPictureLoader {
|
|||
* @see #calculateFallbackBitmap(Address)
|
||||
*/
|
||||
public void loadContactPicture(Address address, QuickContactBadge badge) {
|
||||
String email = address.getAddress();
|
||||
String email = address.getPersonal() != null ? address.getPersonal() : address.getAddress();
|
||||
Bitmap bitmap = getBitmapFromCache(email);
|
||||
if (bitmap != null) {
|
||||
// The picture was found in the bitmap cache
|
||||
|
|
Loading…
Reference in a new issue