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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/notifications/StandardNotificationBuilder.java

Issue 2765023002: [Android] Upstreaming notification channels part 2: Clean up (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/android/java/src/org/chromium/chrome/browser/notifications/StandardNotificationBuilder.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/notifications/StandardNotificationBuilder.java b/chrome/android/java/src/org/chromium/chrome/browser/notifications/StandardNotificationBuilder.java
index 025f167ed4ee3037e0f616451998285a95858923..dbda58219edcfe9a96dcc4349520e03e82127550 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/notifications/StandardNotificationBuilder.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/notifications/StandardNotificationBuilder.java
@@ -26,10 +26,10 @@ public class StandardNotificationBuilder extends NotificationBuilderBase {
// TODO(crbug.com/697104) We should probably use a Compat builder.
ChromeNotificationBuilder builder =
NotificationBuilderFactory.createChromeNotificationBuilder(false /* preferCompat */,
- NotificationConstants.CATEGORY_ID_SITES,
+ NotificationConstants.CHANNEL_ID_SITES,
mContext.getString(
org.chromium.chrome.R.string.notification_category_sites),
- NotificationConstants.CATEGORY_GROUP_ID_GENERAL,
+ NotificationConstants.CHANNEL_GROUP_ID_GENERAL,
mContext.getString(
org.chromium.chrome.R.string.notification_category_group_general));

Powered by Google App Engine
This is Rietveld 408576698