Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 30237deb authored by Julia Reynolds's avatar Julia Reynolds
Browse files

Update posted time for notification history

Because we log some entries @ time viewed versus posted,
we need to log the time of the interruption so the
entries match the ordering in the log

Test: manual
Bug: 137396965
Change-Id: If172b1662721ae4fa9526014afacc12be4c79a6b
parent 56d6f15a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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()))