Skip to content

Commit

Permalink
debug: try debug version for #170
Browse files Browse the repository at this point in the history
  • Loading branch information
Malopieds committed Jul 6, 2024
1 parent 8fd13b0 commit a0316ce
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import androidx.media3.exoplayer.scheduler.PlatformScheduler
import androidx.media3.exoplayer.scheduler.Scheduler
import com.malopieds.innertune.R
import dagger.hilt.android.AndroidEntryPoint
import timber.log.Timber
import javax.inject.Inject

@AndroidEntryPoint
Expand Down Expand Up @@ -61,12 +62,13 @@ class ExoDownloadService :
finalException: Exception?,
) {
if (download.state == Download.STATE_FAILED) {
Timber.tag("Download failed").e(finalException)
val notification =
notificationHelper.buildDownloadFailedNotification(
context,
R.drawable.error,
null,
Util.fromUtf8Bytes(download.request.data),
Util.fromUtf8Bytes(download.request.data) + " " + finalException,
)
NotificationUtil.setNotification(context, nextNotificationId++, notification)
}
Expand Down

0 comments on commit a0316ce

Please sign in to comment.