Merge "Do not log booleans"

This commit is contained in:
TreeHugger Robot
2017-02-17 16:26:18 +00:00
committed by Android (Google) Code Review

View File

@@ -4195,7 +4195,7 @@ public class NotificationManagerService extends SystemService {
.setCategory(MetricsEvent.NOTIFICATION_SNOOZED)
.setType(MetricsEvent.TYPE_CLOSE)
.addTaggedData(MetricsEvent.NOTIFICATION_SNOOZED_CRITERIA,
snoozeCriterionId == null ? false : true));
snoozeCriterionId == null ? 0 : 1));
cancelNotificationLocked(r, false, REASON_SNOOZED);
updateLightsLocked();
if (snoozeCriterionId != null) {