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

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

Issue 2581553002: [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 efe94e0012401e66e4dee74777bf14543b705780..dbfbfb4909466d7d424beee06a22bab385af0146 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
@@ -266,7 +266,7 @@ public class DownloadNotificationService extends Service {
if (mStopPostingProgressNotifications) return;
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);
@@ -354,7 +354,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);
Intent cancelIntent = buildActionIntent(
ACTION_DOWNLOAD_CANCEL, entry.notificationId, entry.downloadGuid, entry.fileName,
entry.isOfflinePage());
« 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