OSDN Git Service

Set autobundled summary color.
authorJulia Reynolds <juliacr@google.com>
Fri, 20 May 2016 14:25:43 +0000 (10:25 -0400)
committerJulia Reynolds <juliacr@google.com>
Tue, 24 May 2016 13:51:23 +0000 (13:51 +0000)
Change-Id: I8ceb0b045359dc364fcec411fcfc610f7f57d8db
Fixes: 28615262

services/core/java/com/android/server/notification/NotificationManagerService.java

index 04be34a..946e4f7 100644 (file)
@@ -2252,6 +2252,7 @@ public class NotificationManagerService extends SystemService {
                                         .setGroup(newAutoBundleKey)
                                         .setFlag(Notification.FLAG_AUTOGROUP_SUMMARY, true)
                                         .setFlag(Notification.FLAG_GROUP_SUMMARY, true)
+                                        .setColor(adjustedSbn.getNotification().color)
                                         .build();
                         summaryNotification.extras.putAll(extras);
                         Intent appIntent = getContext().getPackageManager()