reduce dependence on deprecated theming library

This commit is contained in:
dkanada 2021-05-12 01:06:51 +09:00
commit ec2162b4b7
23 changed files with 80 additions and 83 deletions

View file

@ -29,8 +29,8 @@ public final class AppShortcutIconGenerator {
private static IconCompat generateDefaultThemedIcon(Context context, int iconId) {
// return icon of iconId with default colors
return generateThemedIcon(context, iconId,
context.getColor(R.color.app_shortcut_default_foreground),
context.getColor(R.color.app_shortcut_default_background)
context.getColor(R.color.color_shortcut_foreground),
context.getColor(R.color.color_shortcut_background)
);
}