It's now happened more than once* that I've only noticed in code review that the channel id sent to the NotificationUmaTracker has not been updated when the channel id of a notification is updated.
We should really structure the code so that this mistake is impossible to make (force the onNotificatoinShown method to take the notification object itself? This might be hard in some cases though..)
[*] e.g. https://chromium-review.googlesource.com/c/chromium/src/+/699714
Comment 1 by awdf@chromium.org
, Jul 26