From 866acf0ff67642cc1245afaa88083fe6943a49f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C3=ADas=20Hern=C3=A1ndez?= Date: Wed, 10 May 2023 16:56:47 +0200 Subject: [PATCH] Log post_duration_millis to statsd Bug: 275044361 Test: statsd_testdrive Change-Id: If47e948c3d0f5c1a14374125503322ef2ceb2543 --- .../server/notification/NotificationRecordLoggerImpl.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/services/core/java/com/android/server/notification/NotificationRecordLoggerImpl.java b/services/core/java/com/android/server/notification/NotificationRecordLoggerImpl.java index cd457b793390f..feb75efe25f6f 100644 --- a/services/core/java/com/android/server/notification/NotificationRecordLoggerImpl.java +++ b/services/core/java/com/android/server/notification/NotificationRecordLoggerImpl.java @@ -74,7 +74,8 @@ class NotificationRecordLoggerImpl implements NotificationRecordLogger { notificationReported.is_ongoing, notificationReported.is_foreground_service, notificationReported.timeout_millis, - notificationReported.is_non_dismissible); + notificationReported.is_non_dismissible, + notificationReported.post_duration_millis); } @Override