Colored notifications
Selim Cinek [Wed, 27 Aug 2014 14:38:16 +0000 (16:38 +0200)]
Bug: 17128331
Change-Id: Ie2529189e4d62c7dc385f9d36c70ac412fb4159c

src/com/android/providers/downloads/DownloadNotifier.java

index ac52eba..bfd5568 100644 (file)
@@ -139,6 +139,8 @@ public class DownloadNotifier {
             final Collection<DownloadInfo> cluster = clustered.get(tag);
 
             final Notification.Builder builder = new Notification.Builder(mContext);
+            builder.setColor(res.getColor(
+                    com.android.internal.R.color.system_notification_accent_color));
 
             // Use time when cluster was first shown to avoid shuffling
             final long firstShown;