Merge "No color spans in notifications when night mode"
This commit is contained in:
committed by
Android (Google) Code Review
commit
23ca916dca
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user