summaryrefslogtreecommitdiffstats
path: root/src/com/android/providers/downloads/DownloadNotifier.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/providers/downloads/DownloadNotifier.java')
-rwxr-xr-xsrc/com/android/providers/downloads/DownloadNotifier.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/com/android/providers/downloads/DownloadNotifier.java b/src/com/android/providers/downloads/DownloadNotifier.java
index bd4a5334..1a3ec55c 100755
--- a/src/com/android/providers/downloads/DownloadNotifier.java
+++ b/src/com/android/providers/downloads/DownloadNotifier.java
@@ -175,8 +175,10 @@ public class DownloadNotifier {
// Show relevant icon
if (type == TYPE_ACTIVE) {
- if (hasPausedStatus || hasErrorStatus) {
+ if (hasPausedStatus) {
builder.setSmallIcon(R.drawable.download_pause);
+ } else if (hasErrorStatus) {
+ builder.setSmallIcon(R.drawable.ic_stat_download_error);
} else {
builder.setSmallIcon(android.R.drawable.stat_sys_download);
}