Added proper coloring and WIP for Playlist database

This commit is contained in:
h4h13 2020-05-06 01:14:59 +05:30
parent 8d49f8cdcb
commit bf9ddfccb7
34 changed files with 1737 additions and 185 deletions

View file

@ -109,11 +109,14 @@ class PlayingNotificationOreo : PlayingNotification() {
resource: BitmapPaletteWrapper,
glideAnimation: GlideAnimation<in BitmapPaletteWrapper>
) {
val mediaNotificationProcessor = MediaNotificationProcessor(
service,
service
) { i, _ -> update(resource.bitmap, i) }
mediaNotificationProcessor.processNotification(resource.bitmap)
/* val mediaNotificationProcessor = MediaNotificationProcessor(
service,
service
) { i, _ -> update(resource.bitmap, i) }
mediaNotificationProcessor.processNotification(resource.bitmap)*/
val colors = MediaNotificationProcessor(service, resource.bitmap)
update(resource.bitmap, colors.backgroundColor)
}
override fun onLoadFailed(e: Exception?, errorDrawable: Drawable?) {