summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Jeff DeCew <jeffdq@google.com> 2024-01-12 20:49:00 +0000
committer Jeff DeCew <jeffdq@google.com> 2024-01-12 20:49:04 +0000
commitaee60c49308a81125587ea0c53f40c9d5d60707e (patch)
treea11f5a6e3db5095a27c53b035c33997ae7898c48
parent4d8d73ebaf29bcb79547ced8ef834aa1fd8b3d7c (diff)
Fix the text color used on the notification unread indicator.
Change-Id: I911c20f7e7ebec494e7a7d4d31d2ce61e438d3ab Fixes: 313614534 Test: manual inspection in normal and B&W themes; light and dark Flag: NONE
-rw-r--r--core/java/android/app/Notification.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/app/Notification.java b/core/java/android/app/Notification.java
index 476232cb40b3..ed0cfbe3d9c3 100644
--- a/core/java/android/app/Notification.java
+++ b/core/java/android/app/Notification.java
@@ -5652,7 +5652,7 @@ public class Notification implements Parcelable
pillColor = Colors.flattenAlpha(
getColors(p).getTertiaryFixedDimAccentColor(), bgColor);
textColor = Colors.flattenAlpha(
- getColors(p).getOnTertiaryAccentTextColor(), pillColor);
+ getColors(p).getOnTertiaryFixedAccentTextColor(), pillColor);
}
contentView.setInt(R.id.expand_button, "setHighlightTextColor", textColor);
contentView.setInt(R.id.expand_button, "setHighlightPillColor", pillColor);