summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Jeff DeCew <jeffdq@google.com> 2025-03-30 18:07:53 -0700
committer Android Build Coastguard Worker <android-build-coastguard-worker@google.com> 2025-04-02 19:32:32 -0700
commit5b18c65b0e7280c51ae3594ed1867000ad720a56 (patch)
tree0f7d67aa4bb94cc7eb5cdb43e29a1e52eda50ed7
parentb111de70521fde49ba180c27b1358655f205c699 (diff)
Don't let `ActiveNotificationModel.appName` be null
Fixes: 406608685 Test: presubmit Flag: EXEMPT bugfix (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:ac3324800128693729ccec953fa997598802f5a0) Merged-In: Ida5384997100707fdd7afb1b407b3e3883676691 Change-Id: Ida5384997100707fdd7afb1b407b3e3883676691
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/notification/domain/interactor/RenderNotificationListInteractor.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/notification/domain/interactor/RenderNotificationListInteractor.kt b/packages/SystemUI/src/com/android/systemui/statusbar/notification/domain/interactor/RenderNotificationListInteractor.kt
index 9f42a1d9b145..7649931ee324 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/notification/domain/interactor/RenderNotificationListInteractor.kt
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/notification/domain/interactor/RenderNotificationListInteractor.kt
@@ -166,7 +166,7 @@ private class ActiveNotificationsStoreBuilder(
statusBarChipIconView = icons.statusBarChipIcon,
uid = sbn.uid,
packageName = sbn.packageName,
- appName = sbn.notification.loadHeaderAppName(context),
+ appName = sbn.notification.loadHeaderAppName(context) ?: "",
contentIntent = sbn.notification.contentIntent,
instanceId = sbn.instanceId,
isGroupSummary = sbn.notification.isGroupSummary,