diff options
| author | TreeHugger Robot <treehugger-gerrit@google.com> | 2018-09-27 23:01:32 +0000 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2018-09-27 23:01:32 +0000 |
| commit | 23ca916dca3e1633d59e90f3afeef629edebd3f9 (patch) | |
| tree | 2c0d8a8f07a3122867178090609d11cb08b1bc00 /core/java | |
| parent | 7913b20eb0b4be37981a9dd319ef0b5397445d30 (diff) | |
| parent | d3c99323125106eab7d9649f7238754df706e90f (diff) | |
Merge "No color spans in notifications when night mode"
Diffstat (limited to 'core/java')
| -rw-r--r-- | core/java/android/app/Notification.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/app/Notification.java b/core/java/android/app/Notification.java index 3638bc48d2b5..81df447816d1 100644 --- a/core/java/android/app/Notification.java +++ b/core/java/android/app/Notification.java @@ -4440,7 +4440,7 @@ public class Notification implements Parcelable } private CharSequence processTextSpans(CharSequence text) { - if (hasForegroundColor()) { + if (hasForegroundColor() || mInNightMode) { return ContrastColorUtil.clearColorSpans(text); } return text; |
