Fix system shortcut icon color in popup menu
If a system shortcut icon has a color other than white, then the
default tintMode (src_atop) will result in the wrong color. In
this case, ic_widget recently changed fillColor from white to
textColorPrimary, resulting in a darker color for light wallpapers.
Bug: 72383282
Change-Id: I167858ef3fcc5877e429c11aa9f68f94ba4b8f29
diff --git a/res/layout/system_shortcut_icon_only.xml b/res/layout/system_shortcut_icon_only.xml
index c59cb53..b8b5b8c 100644
--- a/res/layout/system_shortcut_icon_only.xml
+++ b/res/layout/system_shortcut_icon_only.xml
@@ -20,5 +20,6 @@
android:layout_height="@dimen/system_shortcut_header_icon_touch_size"
android:background="?android:attr/selectableItemBackgroundBorderless"
android:tint="?android:attr/textColorHint"
+ android:tintMode="src_in"
android:padding="@dimen/system_shortcut_header_icon_padding"
android:theme="@style/PopupItem" />