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

Commit fe3699de authored by PETER LIANG's avatar PETER LIANG Committed by Android (Google) Code Review
Browse files

Merge "Update the color check baseline related to the icon with adaptive background."

parents 56f90e09 26291ae9
Loading
Loading
Loading
Loading
+16 −0
Original line number Diff line number Diff line
@@ -3213,6 +3213,22 @@
            column="13"/>
    </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="            android:color=&quot;@color/accessibility_feature_background&quot;/>"
        errorLine2="            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
        <location
            file="res/drawable/ic_adaptive_font_download.xml"
            line="23"
            column="13"/>
    </issue>

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