Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(59)

Issue 2834633002: [Android O] Add SystemNotification.ChannelBlocked histogram (Closed)

Created:
3 years, 8 months ago by awdf
Modified:
3 years, 8 months ago
CC:
chromium-reviews, David Trainor- moved to gerrit, awdf+watch_chromium.org, ntp-dev+reviews_chromium.org, Peter Beverloo, mlamouri+watch-notifications_chromium.org, noyau+watch_chromium.org, asvitkine+watch_chromium.org, agrieve+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[Android O] Add SystemNotification.ChannelBlocked histogram - Added a new histogram for notifications that were already being logged via NotificationUmaTracker. - Now, if notifications are enabled at the app level but blocked at the channel level, they will be counted in this histogram, instead of the SystemNotification.Shown histogram. - If notifications are blocked at the app level they will still be counted in SystemNotification.Blocked, regardless of channel status. TBR=dtrainor@chromium.org BUG=706813 Review-Url: https://codereview.chromium.org/2834633002 Cr-Commit-Position: refs/heads/master@{#466424} Committed: https://chromium.googlesource.com/chromium/src/+/d0ba3b6e3f693d2a11992a48dc28508bbfc89731

Patch Set 1 #

Total comments: 6

Patch Set 2 : rebase #

Total comments: 2

Patch Set 3 : responding to peter's review #

Patch Set 4 : Add comment explaining reflection #

Messages

Total messages: 27 (14 generated)
awdf
Part 1 of 2. peter@ & dtrainor@ - PTAL.
3 years, 8 months ago (2017-04-20 15:53:02 UTC) #2
Peter Beverloo
https://codereview.chromium.org/2834633002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationUmaTracker.java File chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationUmaTracker.java (right): https://codereview.chromium.org/2834633002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationUmaTracker.java#newcode75 chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationUmaTracker.java:75: * @param channelId nit: Id of the channel of ...
3 years, 8 months ago (2017-04-20 17:30:29 UTC) #3
awdf
https://codereview.chromium.org/2834633002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationUmaTracker.java File chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationUmaTracker.java (right): https://codereview.chromium.org/2834633002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationUmaTracker.java#newcode75 chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationUmaTracker.java:75: * @param channelId On 2017/04/20 17:30:29, Peter Beverloo wrote: ...
3 years, 8 months ago (2017-04-21 13:36:28 UTC) #6
Peter Beverloo
lgtm
3 years, 8 months ago (2017-04-21 14:26:09 UTC) #7
awdf
+ isherman@ for histograms - ptal
3 years, 8 months ago (2017-04-21 15:03:18 UTC) #9
awdf
+ isherman@ for histograms - ptal
3 years, 8 months ago (2017-04-21 15:03:19 UTC) #10
nyquist
lgtm, optionally also address comment. https://codereview.chromium.org/2834633002/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationUmaTracker.java File chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationUmaTracker.java (right): https://codereview.chromium.org/2834633002/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationUmaTracker.java#newcode100 chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationUmaTracker.java:100: Method getNotificationChannel = notificationManager.getClass().getMethod( ...
3 years, 8 months ago (2017-04-21 15:36:53 UTC) #12
awdf
https://codereview.chromium.org/2834633002/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationUmaTracker.java File chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationUmaTracker.java (right): https://codereview.chromium.org/2834633002/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationUmaTracker.java#newcode100 chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationUmaTracker.java:100: Method getNotificationChannel = notificationManager.getClass().getMethod( On 2017/04/21 15:36:53, nyquist wrote: ...
3 years, 8 months ago (2017-04-21 15:56:30 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2834633002/60001
3 years, 8 months ago (2017-04-21 15:57:13 UTC) #19
awdf
On 2017/04/21 15:57:13, commit-bot: I haz the power wrote: > CQ is trying da patch. ...
3 years, 8 months ago (2017-04-21 16:04:16 UTC) #21
Ilya Sherman
Metrics LGTM, thanks.
3 years, 8 months ago (2017-04-21 19:52:21 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2834633002/60001
3 years, 8 months ago (2017-04-21 19:53:19 UTC) #24
commit-bot: I haz the power
3 years, 8 months ago (2017-04-21 19:59:46 UTC) #27
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/d0ba3b6e3f693d2a11992a48dc28...

Powered by Google App Engine
This is Rietveld 408576698