[Glide] Added placeholder images for song, album & artist

This commit is contained in:
Prathamesh More 2021-12-02 17:04:49 +05:30
parent 652a79f14e
commit e02e99ed02
3 changed files with 19 additions and 9 deletions

View file

@ -473,4 +473,12 @@ public class MediaNotificationProcessor {
public interface OnPaletteLoadedListener {
void onPaletteLoaded(MediaNotificationProcessor mediaNotificationProcessor);
}
public static MediaNotificationProcessor errorColor(Context context) {
MediaNotificationProcessor errorColors = new MediaNotificationProcessor(context);
errorColors.backgroundColor = 0x15724528;
errorColors.primaryTextColor = 0x6974059;
errorColors.secondaryTextColor = 0x8684677;
return errorColors;
}
}