Merge "Mutate system shortcut icons in popup before tinting" into ub-launcher3-dorval

This commit is contained in:
Tony Wickham
2017-04-20 22:13:20 +00:00
committed by Android (Google) Code Review
@@ -31,7 +31,7 @@ public abstract class SystemShortcut {
}
public Drawable getIcon(Context context, int colorAttr) {
Drawable icon = context.getResources().getDrawable(mIconResId);
Drawable icon = context.getResources().getDrawable(mIconResId, context.getTheme()).mutate();
icon.setTint(Themes.getAttrColor(context, colorAttr));
return icon;
}