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

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

Issue 934053002: Android notifications should use system default settings for indicators. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@n-enable-events
Patch Set: Created 5 years, 10 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationUIManager.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationUIManager.java b/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationUIManager.java
index 1971062dad493af71019423859ab60f329646bb9..7e0ed32fa044aa6d55383b592039c26cf9acde01 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationUIManager.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationUIManager.java
@@ -4,6 +4,7 @@
package org.chromium.chrome.browser.notifications;
+import android.app.Notification;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.content.Context;
@@ -180,6 +181,7 @@ public class NotificationUIManager {
.setStyle(new NotificationCompat.BigTextStyle().bigText(body))
.setLargeIcon(icon)
.setSmallIcon(R.drawable.notification_badge)
+ .setDefaults(Notification.DEFAULT_ALL)
.setContentIntent(getPendingIntent(
NotificationConstants.ACTION_CLICK_NOTIFICATION,
notificationId, mLastNotificationId, notificationData))
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698