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

Commit c8e69e99 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix the color-check-baseline checker error while repo upload"

parents 0cc0a053 befb192c
Loading
Loading
Loading
Loading
+16 −0
Original line number Diff line number Diff line
@@ -257,6 +257,22 @@
            column="5"/>
    </issue>

    <issue
        id="HardCodedColor"
        severity="Error"
        message="Avoid using hardcoded color"
        category="Correctness"
        priority="4"
        summary="Using hardcoded color"
        explanation="Hardcoded color values are bad because theme changes cannot be uniformly applied.Instead use the theme specific colors such as `?android:attr/textColorPrimary` in attributes.&#xA;This ensures that a theme change from a light to a dark theme can be uniformlyapplied across the app."
        errorLine1="    &lt;color name=&quot;notification_history_background&quot;>#5F6368&lt;/color>"
        errorLine2="    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
        <location
            file="res/values-night/colors.xml"
            line="30"
            column="5"/>
    </issue>

    <issue
        id="HardCodedColor"
        severity="Error"