diff --git a/core/java/android/app/Notification.java b/core/java/android/app/Notification.java index 4ebed7a6cf430..de19ed61677aa 100644 --- a/core/java/android/app/Notification.java +++ b/core/java/android/app/Notification.java @@ -6254,6 +6254,9 @@ public class Notification implements Parcelable if (rawColor == COLOR_DEFAULT) { ensureColors(p); color = ContrastColorUtil.resolveDefaultColor(mContext, background, mInNightMode); + if (mTintWithThemeAccent) { + color = obtainThemeColor(R.attr.colorAccent, color); + } } else { color = ContrastColorUtil.resolveContrastColor(mContext, rawColor, background, mInNightMode); diff --git a/core/res/res/values/colors.xml b/core/res/res/values/colors.xml index c00581f981af8..22467e4c14025 100644 --- a/core/res/res/values/colors.xml +++ b/core/res/res/values/colors.xml @@ -171,7 +171,7 @@ #bf39b500 #4dffeb3b - #ff607D8B + #00000000 #ff00bcd4