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

Commit fdbddda5 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Log notification location when a notification action is clicked."

parents a973ce21 72991967
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -770,7 +770,10 @@ public class NotificationManagerService extends SystemService {
                                action.isContextual() ? 1 : 0)
                        .addTaggedData(
                                MetricsEvent.NOTIFICATION_SMART_SUGGESTION_ASSISTANT_GENERATED,
                                generatedByAssistant ? 1 : 0));
                                generatedByAssistant ? 1 : 0)
                        .addTaggedData(MetricsEvent.NOTIFICATION_LOCATION,
                                nv.location.toMetricsEventEnum()));

                EventLogTags.writeNotificationActionClicked(key, actionIndex,
                        r.getLifespanMs(now), r.getFreshnessMs(now), r.getExposureMs(now),
                        nv.rank, nv.count);