Merge "Fix failing checkcolor_hook in Settings" into udc-dev am: cebb55826f

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/21850207

Change-Id: Iab5a1f28c1e509af9bda48d58069fd792ce9f82a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
TreeHugger Robot
2023-03-08 14:37:41 +00:00
committed by Automerger Merge Worker

View File

@@ -4477,6 +4477,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:tint=&quot;#4F8438&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
file="res/layout/locale_dialog.xml"
line="36"
column="13"/>
</issue>
<issue
id="HardCodedColor"
severity="Error"