From 604fa4df2253108da24cea916b2e6c93c8a9d271 Mon Sep 17 00:00:00 2001 From: Jeff DeCew Date: Thu, 28 Jan 2021 15:20:13 -0500 Subject: [PATCH] Fix notification time text color Fixes: 178725891 Test: manual Change-Id: I2485bf1995945038ae076abe372b2e8da1921023 --- core/java/android/app/Notification.java | 1 + 1 file changed, 1 insertion(+) diff --git a/core/java/android/app/Notification.java b/core/java/android/app/Notification.java index 68d3a9203f121..49f508d83f91b 100644 --- a/core/java/android/app/Notification.java +++ b/core/java/android/app/Notification.java @@ -5255,6 +5255,7 @@ public class Notification implements Parcelable // We still want a time to be set but gone, such that we can show and hide it // on demand in case it's a child notification without anything in the header contentView.setLong(R.id.time, "setTime", mN.when != 0 ? mN.when : mN.creationTime); + setTextViewColorSecondary(contentView, R.id.time, p); } }