summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/notification/row/NotificationContentInflater.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/NotificationContentInflater.java b/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/NotificationContentInflater.java
index 70e27a981b49..7b3a4710b69c 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/NotificationContentInflater.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/NotificationContentInflater.java
@@ -504,6 +504,7 @@ public class NotificationContentInflater implements NotificationRowContentBinder
CharSequence redactedMessage = systemUiContext.getString(
R.string.redacted_notification_single_line_text
);
+ redacted.setWhen(original.getWhen());
if (originalStyle instanceof MessagingStyle oldStyle) {
MessagingStyle newStyle = new MessagingStyle(oldStyle.getUser());