am ad1d181c: Don\'t bother storing a null value in the cache

* commit 'ad1d181cd21ee598512c142150e79be754209548':
  Don't bother storing a null value in the cache
diff --git a/src/com/android/ex/chips/BaseRecipientAdapter.java b/src/com/android/ex/chips/BaseRecipientAdapter.java
index 8af8d2c..dd74f30 100644
--- a/src/com/android/ex/chips/BaseRecipientAdapter.java
+++ b/src/com/android/ex/chips/BaseRecipientAdapter.java
@@ -798,8 +798,10 @@
                             mHandler.post(new Runnable() {
                                 @Override
                                 public void run() {
-                                    mPhotoCacheMap.put(photoThumbnailUri, photoBytes);
-                                    notifyDataSetChanged();
+                                    if (photoBytes != null) {
+                                        mPhotoCacheMap.put(photoThumbnailUri, photoBytes);
+                                        notifyDataSetChanged();
+                                    }
                                 }
                             });
                         }