Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a9979876 authored by Beth Thibodeau's avatar Beth Thibodeau Committed by android-build-merger
Browse files

Merge "Fix progress bar color in foreground notifications" into qt-dev am: 6b8db619

am: f14b9b8e

Change-Id: I2ff07e39e10393106ed54441002bd72f4e7ccfe1
parents 652a2f3a f14b9b8e
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -4886,7 +4886,8 @@ public class Notification implements Parcelable
                        R.id.progress, ColorStateList.valueOf(mContext.getColor(
                                R.color.notification_progress_background_color)));
                if (getRawColor(p) != COLOR_DEFAULT) {
                    ColorStateList colorStateList = ColorStateList.valueOf(resolveContrastColor(p));
                    int color = isColorized(p) ? getPrimaryTextColor(p) : resolveContrastColor(p);
                    ColorStateList colorStateList = ColorStateList.valueOf(color);
                    contentView.setProgressTintList(R.id.progress, colorStateList);
                    contentView.setProgressIndeterminateTintList(R.id.progress, colorStateList);
                }