From cd0e3f37cf291604627caf52613396e46c24b691 Mon Sep 17 00:00:00 2001 From: Jeff DeCew Date: Tue, 24 Aug 2021 09:13:59 -0400 Subject: [PATCH] Use secondary accent color for default colorized notification background. Fixes: 192049115 Test: manual Change-Id: I59097091cf6dd519ad8260395a046f3ba8aaae95 --- core/java/android/app/Notification.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/java/android/app/Notification.java b/core/java/android/app/Notification.java index 4b054f49d9104..97e7524b66222 100644 --- a/core/java/android/app/Notification.java +++ b/core/java/android/app/Notification.java @@ -12362,7 +12362,7 @@ public class Notification implements Parcelable if (isColorized) { if (rawColor == COLOR_DEFAULT) { - int[] attrs = {R.attr.colorAccentTertiary}; + int[] attrs = {R.attr.colorAccentSecondary}; try (TypedArray ta = obtainDayNightAttributes(ctx, attrs)) { mBackgroundColor = getColor(ta, 0, Color.WHITE); }