title: Add contact image to MessagingStyle notification 'Person'
body: <p>I would like my notifications to include the contact's image.
  I am using NotificationCompat and MessagingStyle do display chat messages for contacts.</p>
  
  <p>This works when using the .setIcon on the person, but the image is square, so I would like to use the setUri but it doesn't display the image, instead I see the contact's first initial in a circle.</p>
  
  <p>Here is the code I'm using for the notification.</p>
  
  <pre><code>Person person = new Person.Builder()
  //                .setIcon(contactIcon)
                  .setName(displayName)
                  .setUri(contentLookupURI)
                  .setKey(contactDetail)
                  .build();
  
  NotificationCompat.MessagingStyle chatMessageStyle = new NotificationCompat.MessagingStyle(person);
  
  NotificationCompat.MessagingStyle.Message notificationMessage = new
                  NotificationCompat.MessagingStyle.Message(
                  contentText,
                  System.currentTimeMillis(),
                  person
          );
          chatMessageStyle.addMessage(notificationMessage);
  
  NotificationCompat.Builder mBuilder = new NotificationCompat.Builder(context, NOTIFICATION_MESSAGES_CHANNEL_ID)
                  .setSmallIcon(icon) // notification icon
                  .setPriority(NotificationCompat.PRIORITY_HIGH)
                  .setStyle(chatMessageStyle)
                  .setOnlyAlertOnce(true)
                  .setContentTitle(displayName); 
  </code></pre>
  
  <p>And for the contact URI used in the <code>.setUri</code> I'm using a library to obtain the contact id and lookupkey then use the method:</p>
  
  <pre><code> contactLookupURI = 
   ContactsContract.Contacts.getLookupUri(contactsList.get(0).getId(), 
   contactsList.get(0).getLookupKey());
  </code></pre>
  
  <p>Which produces this: <code>content://com.android.contacts/contacts/lookup/3118r4-2F294339313F5B16.3789r5-2F294339313F5B16/6</code> which looks correct to me.</p>
  
  <p><a href="https://i.stack.imgur.com/f6Lww.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/f6Lww.png" alt="example notification"></a></p>
  
  <p>I'm not sure how new this form of the MessagingStyle method is as I can't find many examples of it's usage with a Person object. </p>