Remove target size

This commit is contained in:
Kelvin 2024-09-06 15:33:55 +02:00
commit fe97850835

View file

@ -215,7 +215,7 @@ class MediaPlaybackService : Service() {
val tag = video; val tag = video;
Glide.with(this).asBitmap() Glide.with(this).asBitmap()
.load(thumbnail) .load(thumbnail)
.into(object: CustomTarget<Bitmap>(1200, 750) { .into(object: CustomTarget<Bitmap>() {
override fun onResourceReady(resource: Bitmap,transition: Transition<in Bitmap>?) { override fun onResourceReady(resource: Bitmap,transition: Transition<in Bitmap>?) {
if(tag == _notif_last_video) { if(tag == _notif_last_video) {
notifyMediaSession(video, resource) notifyMediaSession(video, resource)