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

Issue 2039953002: Add a preference for disabling vibration in notifications. (Closed)

Created:
4 years, 6 months ago by Michael van Ouwerkerk
Modified:
4 years, 6 months ago
CC:
chromium-reviews, Peter Beverloo, mlamouri+watch-notifications_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add a preference for disabling vibration in notifications. Settings > Site settings > Notifications > Vibrate Screenshot: http://imgur.com/Dt2XwUI BUG=543534 Committed: https://crrev.com/9f0f38a755a92f7208c5bd3831da295e023d505f Cr-Commit-Position: refs/heads/master@{#398542}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Address peter's comments. #

Total comments: 4

Patch Set 3 : Rebase. Address Dan's comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+200 lines, -20 lines) Patch
M chrome/android/java/res/xml/website_preferences.xml View 2 chunks +7 lines, -1 line 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationPlatformBridge.java View 1 2 4 chunks +17 lines, -7 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/preferences/PrefServiceBridge.java View 3 chunks +13 lines, -0 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/preferences/website/SingleCategoryPreferences.java View 1 2 5 chunks +21 lines, -0 lines 0 comments Download
M chrome/android/java/strings/android_chrome_strings.grd View 1 2 2 chunks +7 lines, -1 line 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/notifications/NotificationPlatformBridgeTest.java View 1 2 4 chunks +77 lines, -3 lines 0 comments Download
M chrome/android/junit/src/org/chromium/chrome/browser/notifications/NotificationPlatformBridgeTest.java View 1 chunk +14 lines, -8 lines 0 comments Download
M chrome/browser/android/preferences/pref_service_bridge.cc View 1 2 2 chunks +12 lines, -0 lines 0 comments Download
M chrome/browser/notifications/notification_platform_bridge_android.h View 1 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/notifications/notification_platform_bridge_android.cc View 1 2 chunks +9 lines, -0 lines 0 comments Download
M chrome/browser/prefs/browser_prefs.cc View 1 2 chunks +8 lines, -0 lines 0 comments Download
M chrome/common/pref_names.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/common/pref_names.cc View 1 2 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (12 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2039953002/1
4 years, 6 months ago (2016-06-06 16:02:39 UTC) #2
Michael van Ouwerkerk
Peter, could you take a look please?
4 years, 6 months ago (2016-06-06 16:02:43 UTC) #4
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-06 17:20:51 UTC) #6
Peter Beverloo
lgtm Could you include a screenshot? https://codereview.chromium.org/2039953002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationPlatformBridge.java File chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationPlatformBridge.java (right): https://codereview.chromium.org/2039953002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationPlatformBridge.java#newcode562 chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationPlatformBridge.java:562: // pattern. Can ...
4 years, 6 months ago (2016-06-07 12:46:01 UTC) #7
Michael van Ouwerkerk
Thanks Peter. https://codereview.chromium.org/2039953002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationPlatformBridge.java File chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationPlatformBridge.java (right): https://codereview.chromium.org/2039953002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationPlatformBridge.java#newcode562 chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationPlatformBridge.java:562: // pattern. On 2016/06/07 12:46:01, Peter Beverloo ...
4 years, 6 months ago (2016-06-07 16:34:21 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2039953002/20001
4 years, 6 months ago (2016-06-07 16:34:24 UTC) #11
Michael van Ouwerkerk
Dan, could you please review this one as OWNER of the android bits?
4 years, 6 months ago (2016-06-07 16:38:33 UTC) #13
Michael van Ouwerkerk
Bernhard, could you please review this one as OWNER of browser_prefs.cc?
4 years, 6 months ago (2016-06-07 16:39:19 UTC) #15
gone
lgtm, leaving nits to your judgement. https://codereview.chromium.org/2039953002/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationPlatformBridge.java File chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationPlatformBridge.java (right): https://codereview.chromium.org/2039953002/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationPlatformBridge.java#newcode562 chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationPlatformBridge.java:562: vibrationPattern = new ...
4 years, 6 months ago (2016-06-07 17:32:54 UTC) #16
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-07 17:55:33 UTC) #18
Bernhard Bauer
Prefs LGTM
4 years, 6 months ago (2016-06-07 19:03:05 UTC) #19
Michael van Ouwerkerk
Thanks guys! https://codereview.chromium.org/2039953002/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationPlatformBridge.java File chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationPlatformBridge.java (right): https://codereview.chromium.org/2039953002/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationPlatformBridge.java#newcode562 chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationPlatformBridge.java:562: vibrationPattern = new int[0]; On 2016/06/07 17:32:54, ...
4 years, 6 months ago (2016-06-08 13:28:13 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2039953002/40001
4 years, 6 months ago (2016-06-08 13:28:42 UTC) #23
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 6 months ago (2016-06-08 14:11:57 UTC) #25
commit-bot: I haz the power
4 years, 6 months ago (2016-06-08 14:13:12 UTC) #27
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/9f0f38a755a92f7208c5bd3831da295e023d505f
Cr-Commit-Position: refs/heads/master@{#398542}

Powered by Google App Engine
This is Rietveld 408576698