Loading core/java/android/app/Notification.java +2 −3 Original line number Diff line number Diff line Loading @@ -6462,7 +6462,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 @@ -6492,8 +6492,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 @@ -6462,7 +6462,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 @@ -6492,8 +6492,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