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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/download/DownloadNotificationService.java

Issue 2570403002: [Download notifications] Replace images (Closed)
Patch Set: Created 4 years 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 | « chrome/android/java/res/drawable-xxhdpi/ic_download_pending.png ('k') | 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/download/DownloadNotificationService.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/download/DownloadNotificationService.java b/chrome/android/java/src/org/chromium/chrome/browser/download/DownloadNotificationService.java
index ceed07de7e1ef3f4a8540c6acb31e102507ad0e4..59d530ee6418b031ce8aa5f5e366e79cb890627d 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/download/DownloadNotificationService.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/download/DownloadNotificationService.java
@@ -271,7 +271,7 @@ public class DownloadNotificationService extends Service {
String contentText = mContext.getResources().getString(isDownloadPending
? R.string.download_notification_pending : R.string.download_started);
- int resId = isDownloadPending ? android.R.drawable.stat_sys_download_done
+ int resId = isDownloadPending ? R.drawable.ic_download_pending
: android.R.drawable.stat_sys_download;
NotificationCompat.Builder builder = buildNotification(resId, fileName, contentText);
builder.setOngoing(true);
@@ -374,7 +374,7 @@ public class DownloadNotificationService extends Service {
String contentText = mContext.getResources().getString(
R.string.download_notification_paused);
NotificationCompat.Builder builder = buildNotification(
- android.R.drawable.ic_media_pause, entry.fileName, contentText);
+ R.drawable.ic_download_pause, entry.fileName, contentText);
// Clicking on an in-progress download sends the user to see all their downloads.
Intent downloadHomeIntent = buildActionIntent(
« no previous file with comments | « chrome/android/java/res/drawable-xxhdpi/ic_download_pending.png ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698