From 255dd04271088590fedc46c8e22b2fd4ab142d39 Mon Sep 17 00:00:00 2001 From: Selim Cinek <cinek@google.com> Date: Tue, 19 Aug 2014 22:29:02 +0200 Subject: Added notification color to all system notifications Bug: 17128331 Change-Id: I81a94510ef51b99916f314c0dd65852426a1fbeb --- services/print/java/com/android/server/print/PrintManagerService.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'services/print') diff --git a/services/print/java/com/android/server/print/PrintManagerService.java b/services/print/java/com/android/server/print/PrintManagerService.java index 7400dde..6a56de0 100644 --- a/services/print/java/com/android/server/print/PrintManagerService.java +++ b/services/print/java/com/android/server/print/PrintManagerService.java @@ -783,7 +783,9 @@ public final class PrintManagerService extends SystemService { .setContentIntent(pendingIntent) .setWhen(System.currentTimeMillis()) .setAutoCancel(true) - .setShowWhen(true); + .setShowWhen(true) + .setColor(mContext.getResources().getColor( + com.android.internal.R.color.system_notification_accent_color)); NotificationManager notificationManager = (NotificationManager) mContext .getSystemService(Context.NOTIFICATION_SERVICE); -- cgit v1.1