From aef485a32a36fd80f65613bd5de4d1ca23c54432 Mon Sep 17 00:00:00 2001 From: Selim Cinek Date: Fri, 5 Feb 2016 10:31:20 -0800 Subject: [PATCH] Adapted the notification header colors to spec Change-Id: Ifa9483a5e71f32be2df14912982076d7bf2a6e9a --- core/java/android/app/Notification.java | 1 + core/res/res/values/colors_material.xml | 2 -- core/res/res/values/styles_material.xml | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/core/java/android/app/Notification.java b/core/java/android/app/Notification.java index 34c90c1654901..a78076bdfa6fa 100644 --- a/core/java/android/app/Notification.java +++ b/core/java/android/app/Notification.java @@ -3236,6 +3236,7 @@ public class Notification implements Parcelable return; } contentView.setTextViewText(R.id.app_name_text, appName); + contentView.setTextColor(R.id.app_name_text, resolveColor()); } private void bindSmallIcon(RemoteViews contentView) { diff --git a/core/res/res/values/colors_material.xml b/core/res/res/values/colors_material.xml index dd18544783a51..7399fa9d58ce8 100644 --- a/core/res/res/values/colors_material.xml +++ b/core/res/res/values/colors_material.xml @@ -48,8 +48,6 @@ #de000000 #8a000000 - - #61000000 #ffffffff diff --git a/core/res/res/values/styles_material.xml b/core/res/res/values/styles_material.xml index 0a52f41e36034..9efcfdace11ba 100644 --- a/core/res/res/values/styles_material.xml +++ b/core/res/res/values/styles_material.xml @@ -444,7 +444,7 @@ please see styles_device_defaults.xml.