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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/ntp/ContentSuggestionsNotificationHelper.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/ntp/ContentSuggestionsNotificationHelper.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ntp/ContentSuggestionsNotificationHelper.java b/chrome/android/java/src/org/chromium/chrome/browser/ntp/ContentSuggestionsNotificationHelper.java
index 07c2db4564d2fcf84085e1e25b22b1a67747870b..91ae35986c46937bd63473e697c59742f580a75a 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/ntp/ContentSuggestionsNotificationHelper.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/ntp/ContentSuggestionsNotificationHelper.java
@@ -153,9 +153,9 @@ public class ContentSuggestionsNotificationHelper {
ChromeNotificationBuilder builder =
NotificationBuilderFactory
.createChromeNotificationBuilder(true /* preferCompat */,
- NotificationConstants.CATEGORY_ID_BROWSER,
+ NotificationConstants.CHANNEL_ID_BROWSER,
context.getString(R.string.notification_category_browser),
- NotificationConstants.CATEGORY_GROUP_ID_GENERAL,
+ NotificationConstants.CHANNEL_GROUP_ID_GENERAL,
context.getString(R.string.notification_category_group_general))
.setAutoCancel(true)
.setContentIntent(PendingIntent.getBroadcast(context, 0, contentIntent, 0))

Powered by Google App Engine
This is Rietveld 408576698