Merge "Log notification location when a notification action is clicked."
This commit is contained in:
committed by
Android (Google) Code Review
commit
fdbddda50e
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user