From 97cc69b7aa9c43579aa44137430f2a4fb7ccbf12 Mon Sep 17 00:00:00 2001 From: Sunny Shao Date: Thu, 12 Jan 2023 22:00:44 +0800 Subject: [PATCH] Fix checkcolor_hook error Bug: 265259233 Test: repo upload OK Change-Id: Iff552bf0927136e747de502d8aae298c114c251e --- color-check-baseline.xml | 438 +++++++++++++++++++++++++++++++++++++-- 1 file changed, 419 insertions(+), 19 deletions(-) diff --git a/color-check-baseline.xml b/color-check-baseline.xml index e4e53fda43b..9900ba79818 100644 --- a/color-check-baseline.xml +++ b/color-check-baseline.xml @@ -717,6 +717,22 @@ column="5"/> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -4009,7 +4393,7 @@ errorLine2=" ^"> @@ -4025,7 +4409,7 @@ errorLine2=" ^"> @@ -4041,7 +4425,7 @@ errorLine2=" ^"> @@ -4181,12 +4565,12 @@ 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. This ensures that a theme change from a light to a dark theme can be uniformlyapplied across the app." - errorLine1=" <item name="android:colorPrimary">@color/material_grey_100</item>" - errorLine2=" ^"> + errorLine1=" android:fillColor="@color/udfps_enroll_progress"" + errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> + file="res/drawable/udfps_enroll_checkmark.xml" + line="29" + column="9"/> + errorLine1=" android:fillColor="@color/udfps_enroll_progress"" + errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> + file="res/drawable/udfps_enroll_checkmark.xml" + line="29" + column="9"/> + errorLine1=" android:fillColor="@color/udfps_enroll_progress"" + errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> + file="res/drawable/udfps_enroll_checkmark.xml" + line="33" + column="9"/> + + + +