Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7a17ed06 authored by Daisuke Miyakawa's avatar Daisuke Miyakawa Committed by Android Git Automerger
Browse files

am 0e52f40b: Merge "Fix possible NPE in ContactPhotoManager." into ics-mr0

* commit '0e52f40b':
  Fix possible NPE in ContactPhotoManager.
parents cf691ad2 0e52f40b
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -359,8 +359,10 @@ class ContactPhotoManagerImpl extends ContactPhotoManager implements Callback {

        view.setImageBitmap(holder.bitmap);

        if (holder.bitmap != null) {
            // Put the bitmap in the LRU cache
            mBitmapCache.put(request, holder.bitmap);
        }

        // Soften the reference
        holder.bitmap = null;