commit | d760f9ae0d320f89e97b07e229a5c18f5b64b9b8 | [log] [tgz] |
---|---|---|
author | Tony Mantler <nicoya@google.com> | Thu Sep 18 10:51:12 2014 -0700 |
committer | Tony Mantler <nicoya@google.com> | Thu Sep 18 10:52:37 2014 -0700 |
tree | cb6da9c8f479abd3d0cce4df9952c58d2bc10042 | |
parent | ca87392454b642a9f3df68f7ccb56da3ea70fe45 [diff] |
Avoid crash when tagging people in notifications b/17420805 Change-Id: I93b2b8015761e44195c8a1706b1ade2382b31cbf
diff --git a/src/com/android/mail/utils/NotificationUtils.java b/src/com/android/mail/utils/NotificationUtils.java index 31c61fa..536a73b 100644 --- a/src/com/android/mail/utils/NotificationUtils.java +++ b/src/com/android/mail/utils/NotificationUtils.java
@@ -1344,6 +1344,9 @@ // in the combined notification and add each one as a person. if (contactFetcher != null) { for (final String sender : sendersList) { + if (TextUtils.isEmpty(sender)) { + continue; + } final Uri contactLookupUri = contactFetcher.getContactLookupUri(context, accountName, sender);