mirror of
https://gitlab.futo.org/videostreaming/grayjay.git
synced 2026-05-16 04:52:39 +02:00
Remove target size
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user