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

Issue 942103003: Handle notification preferences intent from gear icon. (Closed)

Created:
5 years, 10 months ago by Michael van Ouwerkerk
Modified:
5 years, 10 months ago
CC:
chromium-reviews, mlamouri (slow - plz ping), peter+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Handle the notification settings intent. This intent comes from two places. Since Android L there is a settings cog on two UI surfaces: (1) On the rear side (after long press) of notifications. (2) In the "App notifications" screen in Android Settings. Touching the cog on a flipped notification takes the user to the site specific preferences screen which displays (among others) the notification preference for the site origin. Touching he cog on the App notifications screen takes the user to Chrome's notifications preferences list for all sites. BUG=436594, 461885 Committed: https://crrev.com/efff60a90b8eb97bdb9697e8bb59de22745be1a1 Cr-Commit-Position: refs/heads/master@{#318097}

Patch Set 1 #

Patch Set 2 : WIP debug upload #

Patch Set 3 : Fixed intents. Tag not correct yet. #

Patch Set 4 : Pass tag. #

Total comments: 14

Patch Set 5 : Address review comments. #

Total comments: 16

Patch Set 6 : Rebase. Moar whitespace. #

Patch Set 7 : Fix bad merge in service_worker_registration.cc #

Total comments: 4

Patch Set 8 : Address review comments. #

Messages

Total messages: 14 (3 generated)
Michael van Ouwerkerk
Peter, I didn't fully understand what was wrong with this approach, it seems to be ...
5 years, 10 months ago (2015-02-20 16:04:57 UTC) #2
Michael van Ouwerkerk
Please take another look, this seems to have correct behavior in manual testing. I'll take ...
5 years, 10 months ago (2015-02-24 16:35:57 UTC) #3
Peter Beverloo
Thanks for the patch, Michael!! https://codereview.chromium.org/942103003/diff/60001/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationConstants.java File chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationConstants.java (right): https://codereview.chromium.org/942103003/diff/60001/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationConstants.java#newcode36 chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationConstants.java:36: * Separator used to ...
5 years, 10 months ago (2015-02-24 17:48:03 UTC) #4
Michael van Ouwerkerk
Thanks for the review Peter. Please take another look. https://codereview.chromium.org/942103003/diff/60001/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationConstants.java File chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationConstants.java (right): https://codereview.chromium.org/942103003/diff/60001/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationConstants.java#newcode36 chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationConstants.java:36: ...
5 years, 10 months ago (2015-02-25 18:12:45 UTC) #5
Peter Beverloo
lgtm % comments. https://codereview.chromium.org/942103003/diff/80001/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationUIManager.java File chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationUIManager.java (right): https://codereview.chromium.org/942103003/diff/80001/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationUIManager.java#newcode139 chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationUIManager.java:139: Context applicationContext = context.getApplicationContext(); Did you ...
5 years, 10 months ago (2015-02-25 18:26:10 UTC) #6
Michael van Ouwerkerk
All done, thanks for the review. https://codereview.chromium.org/942103003/diff/80001/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationUIManager.java File chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationUIManager.java (right): https://codereview.chromium.org/942103003/diff/80001/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationUIManager.java#newcode139 chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationUIManager.java:139: Context applicationContext = ...
5 years, 10 months ago (2015-02-25 19:00:19 UTC) #7
Miguel Garcia
lgtm % nits https://codereview.chromium.org/942103003/diff/120001/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationUIManager.java File chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationUIManager.java (right): https://codereview.chromium.org/942103003/diff/120001/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationUIManager.java#newcode156 chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationUIManager.java:156: String origin = DCHECK that origin ...
5 years, 10 months ago (2015-02-25 19:16:40 UTC) #8
Michael van Ouwerkerk
Thanks for the quick review. https://codereview.chromium.org/942103003/diff/120001/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationUIManager.java File chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationUIManager.java (right): https://codereview.chromium.org/942103003/diff/120001/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationUIManager.java#newcode156 chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationUIManager.java:156: String origin = On ...
5 years, 10 months ago (2015-02-25 19:33:23 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/942103003/140001
5 years, 10 months ago (2015-02-25 19:36:34 UTC) #12
commit-bot: I haz the power
Committed patchset #8 (id:140001)
5 years, 10 months ago (2015-02-25 20:08:12 UTC) #13
commit-bot: I haz the power
5 years, 10 months ago (2015-02-25 20:09:10 UTC) #14
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/efff60a90b8eb97bdb9697e8bb59de22745be1a1
Cr-Commit-Position: refs/heads/master@{#318097}

Powered by Google App Engine
This is Rietveld 408576698