From 12c5f605c378902fafba2ab5d78f668a52379190 Mon Sep 17 00:00:00 2001 From: Amaan Qureshi Date: Wed, 26 Nov 2025 21:50:49 -0500 Subject: [PATCH] fix: display phone number for unknown group chat senders --- .../messaging/datamodel/MessageNotificationState.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/com/android/messaging/datamodel/MessageNotificationState.java b/src/com/android/messaging/datamodel/MessageNotificationState.java index 2a4552ce..d7b05edf 100644 --- a/src/com/android/messaging/datamodel/MessageNotificationState.java +++ b/src/com/android/messaging/datamodel/MessageNotificationState.java @@ -487,10 +487,9 @@ private static ConversationsList createConversationsList() { // Prepare the message line if (conversation.mIsGroup) { if (authorFirstName == null) { - // authorFullName might be null as well. In that case, we won't - // show an author. That is better than showing all the group - // names again on the 2nd line. - authorFirstName = authorFullName; + authorFirstName = authorFullName != null + ? authorFullName + : convMessageData.getSenderDisplayDestination(); } } else { // don't recompute this if we don't need to