all: remove debug logs
This commit is contained in:
parent
32b152e155
commit
9166580703
2 changed files with 1 additions and 4 deletions
|
@ -282,8 +282,6 @@ constructor(context: Context, attrs: AttributeSet? = null, @AttrRes defStyleAttr
|
||||||
popupLayoutParams.height)
|
popupLayoutParams.height)
|
||||||
|
|
||||||
popupView.measure(widthMeasureSpec, heightMeasureSpec)
|
popupView.measure(widthMeasureSpec, heightMeasureSpec)
|
||||||
Timber.d(
|
|
||||||
"Updating popup text to ${popupView.measuredHeight} ${popupView.measuredWidth}")
|
|
||||||
}
|
}
|
||||||
|
|
||||||
val popupWidth = popupView.measuredWidth
|
val popupWidth = popupView.measuredWidth
|
||||||
|
|
|
@ -141,8 +141,7 @@ fun Album.toMediaItem(context: Context, vararg sugar: Sugar): MediaItem {
|
||||||
.setIconUri(
|
.setIconUri(
|
||||||
covers.covers
|
covers.covers
|
||||||
.firstOrNull()
|
.firstOrNull()
|
||||||
?.let { Uri.withAppendedPath(CoverProvider.CONTENT_URI, it.id) }
|
?.let { Uri.withAppendedPath(CoverProvider.CONTENT_URI, it.id) })
|
||||||
.also { Timber.d("Album cover: $it") })
|
|
||||||
.setExtras(extras)
|
.setExtras(extras)
|
||||||
.build()
|
.build()
|
||||||
return MediaItem(description, MediaItem.FLAG_BROWSABLE)
|
return MediaItem(description, MediaItem.FLAG_BROWSABLE)
|
||||||
|
|
Loading…
Reference in a new issue