Merge "No color spans in notifications when night mode"

This commit is contained in:
TreeHugger Robot
2018-09-27 23:01:32 +00:00
committed by Android (Google) Code Review

View File

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