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:
Jeff DeCew
2021-04-14 13:42:01 -04:00
parent 5683fda342
commit 451f3ff377

View File

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