Use secondary accent color for default colorized notification background.

Fixes: 192049115
Test: manual
Change-Id: I59097091cf6dd519ad8260395a046f3ba8aaae95
This commit is contained in:
Jeff DeCew
2021-08-24 09:13:59 -04:00
parent c20398b8d1
commit cd0e3f37cf

View File

@@ -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);
}