music: attempt to handle bad DISPLAY_NAME [#120]
Add recovery code to the music indexer in the case that Android doesn't provide the DISPLAY_NAME field. Nominally this should never happen, but OEMs will OEM and apparently this does happen on some devices. Try to recover by grokking DATA for a file name.
This commit is contained in:
@@ -9,8 +9,7 @@
|
||||
<org.oxycblt.auxio.coil.StyledImageView
|
||||
android:id="@+id/disc_item"
|
||||
style="@style/Widget.Auxio.Image.Small"
|
||||
android:layout_width="@dimen/size_cover_compact"
|
||||
android:scaleType="center"
|
||||
android:scaleType="matrix"
|
||||
android:src="@drawable/ic_album"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
|
||||
Reference in New Issue
Block a user