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

Commit 0cbbf872 authored by Ibrahim Yilmaz's avatar Ibrahim Yilmaz Committed by Android (Google) Code Review
Browse files

Merge "[ProgressStyle] Increase color contrast ratio for ui components" into main

parents 23e4cb11 2bd6b506
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -11932,7 +11932,7 @@ public class Notification implements Parcelable
        }
        /**
         * Finds steps and points fill color with sufficient contrast over bg (1.3:1) that
         * Finds steps and points fill color with sufficient contrast over bg (3:1) that
         * has the same hue as the original color, but is lightened or darkened depending on
         * whether the background is dark or light.
         *
@@ -11945,7 +11945,7 @@ public class Notification implements Parcelable
            return Builder.ensureColorContrast(
                    Color.alpha(color) == 0 ? defaultColor : color,
                    bg,
                    1.3);
                    3);
        }
        /**