Skip to content

Commit

Permalink
Fix notification crash
Browse files Browse the repository at this point in the history
Signed-off-by: Jorge Ruesga <[email protected]>
  • Loading branch information
jruesga committed Sep 3, 2018
1 parent 2d88922 commit dcd8bb1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ private static void createBundledNotifications(
NotificationEntity lastEntity = entities.get(entities.size() - 1);
NotificationCompat.Builder builder =
createNotificationBuilder(ctx, account, lastEntity, feedback);
Person p = new Person.Builder().build();
Person p = new Person.Builder().setName(account.getAccountDisplayName()).build();
NotificationCompat.MessagingStyle style = new NotificationCompat.MessagingStyle(p)
.setConversationTitle(lastEntity.mNotification.subject);
for (NotificationEntity entity : entities) {
Expand Down

0 comments on commit dcd8bb1

Please sign in to comment.