Merge "Update posted time for notification history"

This commit is contained in:
TreeHugger Robot
2020-01-10 06:44:30 +00:00
committed by Android (Google) Code Review

View File

@@ -2481,7 +2481,7 @@ public class NotificationManagerService extends SystemService {
.setUid(r.sbn.getUid())
.setChannelId(r.getChannel().getId())
.setChannelName(r.getChannel().getName().toString())
.setPostedTimeMs(r.sbn.getPostTime())
.setPostedTimeMs(System.currentTimeMillis())
.setTitle(getHistoryTitle(r.getNotification()))
.setText(getHistoryText(
r.sbn.getPackageContext(getContext()), r.getNotification()))