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

Commit 0f016f00 authored by Chris Wren's avatar Chris Wren Committed by Android (Google) Code Review
Browse files

Merge "don't log auto-expansion of notificaitons" into oc-mr1-dev

parents 48686b6a 377ac6d9
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));