diff options
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/statusbar/notification/domain/interactor/RenderNotificationListInteractor.kt | 9 |
1 files changed, 8 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 8edbc5e8e4bb..8bd7a1ab7a77 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 @@ -152,6 +152,13 @@ private class ActiveNotificationsStoreBuilder( } else { null } + val promotedContent = + if (PromotedNotificationContentModel.featureFlagEnabled()) { + promotedNotificationContentModel + } else { + null + } + return existingModels.createOrReuse( key = key, groupKey = sbn.groupKey, @@ -174,7 +181,7 @@ private class ActiveNotificationsStoreBuilder( isGroupSummary = sbn.notification.isGroupSummary, bucket = bucket, callType = sbn.toCallType(), - promotedContent = promotedNotificationContentModel, + promotedContent = promotedContent, ) } } |