Fix notification background color
This color isn't shown; merely used for color contrast calculations Test: manual Bug: 184982648 Change-Id: I6b2b49287f282fd748f075181cfa37217491b012
This commit is contained in:
@@ -6308,7 +6308,7 @@ public class Notification implements Parcelable
|
||||
* Gets the theme's background color
|
||||
*/
|
||||
private @ColorInt int getDefaultBackgroundColor() {
|
||||
return obtainThemeColor(R.attr.colorBackground,
|
||||
return obtainThemeColor(R.attr.colorSurface,
|
||||
mInNightMode ? Color.BLACK : Color.WHITE);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user