diff options
author | Selim Cinek <cinek@google.com> | 2014-08-20 13:52:14 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-08-20 13:52:14 +0000 |
commit | d3c833fc9768c1e3c651550a24bd89860203571b (patch) | |
tree | 7fce51031714e90c210678cf52184d389aff33bf /packages/SystemUI/src/com/android/systemui/usb | |
parent | 4bc2bad384e731b35d3e65c793a826fb7d2be901 (diff) | |
parent | 60ea8ac9919aeb9721b609b25650c0361804cc86 (diff) | |
download | frameworks_base-d3c833fc9768c1e3c651550a24bd89860203571b.zip frameworks_base-d3c833fc9768c1e3c651550a24bd89860203571b.tar.gz frameworks_base-d3c833fc9768c1e3c651550a24bd89860203571b.tar.bz2 |
am 53006cab: am cc19946d: Added notification color to all system notifications
* commit '53006cab63fed5d176c5d97d4fc1807192ae9c4d':
Added notification color to all system notifications
Diffstat (limited to 'packages/SystemUI/src/com/android/systemui/usb')
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/usb/StorageNotification.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/usb/StorageNotification.java b/packages/SystemUI/src/com/android/systemui/usb/StorageNotification.java index dd4c34c..f804736 100644 --- a/packages/SystemUI/src/com/android/systemui/usb/StorageNotification.java +++ b/packages/SystemUI/src/com/android/systemui/usb/StorageNotification.java @@ -327,7 +327,8 @@ public class StorageNotification extends SystemUI { pi = PendingIntent.getBroadcastAsUser(mContext, 0, intent, 0, UserHandle.CURRENT); } - + mUsbStorageNotification.color = mContext.getResources().getColor( + com.android.internal.R.color.system_notification_accent_color); mUsbStorageNotification.setLatestEventInfo(mContext, title, message, pi); mUsbStorageNotification.visibility = Notification.VISIBILITY_PUBLIC; mUsbStorageNotification.category = Notification.CATEGORY_SYSTEM; @@ -421,6 +422,8 @@ public class StorageNotification extends SystemUI { } mMediaStorageNotification.icon = icon; + mMediaStorageNotification.color = mContext.getResources().getColor( + com.android.internal.R.color.system_notification_accent_color); mMediaStorageNotification.setLatestEventInfo(mContext, title, message, pi); mMediaStorageNotification.visibility = Notification.VISIBILITY_PUBLIC; mMediaStorageNotification.category = Notification.CATEGORY_SYSTEM; |