Loading core/java/android/app/Notification.java +2 −3 Original line number Diff line number Diff line Loading @@ -6982,7 +6982,7 @@ public class Notification implements Parcelable if (emphasizedMode) { // change the background bgColor CharSequence title = action.title; int buttonFillColor = getColors(p).getSecondaryAccentColor(); int buttonFillColor = getColors(p).getPrimaryAccentColor(); if (tombstone) { buttonFillColor = setAlphaComponentByFloatDimen(mContext, ContrastColorUtil.resolveSecondaryColor( Loading Loading @@ -7028,8 +7028,7 @@ public class Notification implements Parcelable } else { button.setTextViewText(R.id.action0, label); } int textColor = ContrastColorUtil.resolvePrimaryColor(mContext, buttonFillColor, mInNightMode); int textColor = getColors(p).getBackgroundColor(); if (tombstone) { textColor = setAlphaComponentByFloatDimen(mContext, ContrastColorUtil.resolveSecondaryColor( Loading Loading
core/java/android/app/Notification.java +2 −3 Original line number Diff line number Diff line Loading @@ -6982,7 +6982,7 @@ public class Notification implements Parcelable if (emphasizedMode) { // change the background bgColor CharSequence title = action.title; int buttonFillColor = getColors(p).getSecondaryAccentColor(); int buttonFillColor = getColors(p).getPrimaryAccentColor(); if (tombstone) { buttonFillColor = setAlphaComponentByFloatDimen(mContext, ContrastColorUtil.resolveSecondaryColor( Loading Loading @@ -7028,8 +7028,7 @@ public class Notification implements Parcelable } else { button.setTextViewText(R.id.action0, label); } int textColor = ContrastColorUtil.resolvePrimaryColor(mContext, buttonFillColor, mInNightMode); int textColor = getColors(p).getBackgroundColor(); if (tombstone) { textColor = setAlphaComponentByFloatDimen(mContext, ContrastColorUtil.resolveSecondaryColor( Loading