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

Commit 377ac6d9 authored by Chris Wren's avatar Chris Wren
Browse files

don't log auto-expansion of notificaitons

Bug: 62787514
Test: runtest systemui-notification
Change-Id: Iac70700526402eada2264f24483dbe8ee241ca59
parent 01b6ff01
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -756,9 +756,11 @@ public class NotificationManagerService extends SystemService {
                if (r != null) {
                    r.stats.onExpansionChanged(userAction, expanded);
                    final long now = System.currentTimeMillis();
                    if (userAction && expanded) {
                        MetricsLogger.action(r.getLogMaker(now)
                                .setCategory(MetricsEvent.NOTIFICATION_ITEM)
                                .setType(MetricsEvent.TYPE_DETAIL));
                    }
                    EventLogTags.writeNotificationExpansion(key,
                            userAction ? 1 : 0, expanded ? 1 : 0,
                            r.getLifespanMs(now), r.getFreshnessMs(now), r.getExposureMs(now));