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

Commit 62d998ce authored by Julia Tuttle's avatar Julia Tuttle Committed by Android (Google) Code Review
Browse files

Merge "Fix hovered/pressed states of colorized notification backgrounds" into main

parents e4dfd1ac 96686db5
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -156,7 +156,7 @@ public class NotificationBackgroundView extends View implements Dumpable {
                    new int[]{com.android.internal.R.attr.state_hovered},
                    new int[]{com.android.internal.R.attr.state_hovered},
                    new int[]{}},
                    new int[]{}},


                    new int[]{0, 0, tintColor}
                    new int[]{tintColor, tintColor, tintColor}
            );
            );
            mBackground.setTintMode(PorterDuff.Mode.SRC_ATOP);
            mBackground.setTintMode(PorterDuff.Mode.SRC_ATOP);
            mBackground.setTintList(stateList);
            mBackground.setTintList(stateList);