music: remove dead code
Remove dead code from a vain attempt to leverage DATE_TAKEN.
This commit is contained in:
parent
201f132686
commit
f9a61c8ef7
1 changed files with 1 additions and 4 deletions
|
@ -478,8 +478,7 @@ open class BaseApi29MediaStoreBackend : MediaStoreBackend() {
|
|||
super.projection +
|
||||
arrayOf(
|
||||
MediaStore.Audio.AudioColumns.VOLUME_NAME,
|
||||
MediaStore.Audio.AudioColumns.RELATIVE_PATH,
|
||||
MediaStore.Audio.AudioColumns.DATE_TAKEN)
|
||||
MediaStore.Audio.AudioColumns.RELATIVE_PATH)
|
||||
|
||||
override val dirSelector: String
|
||||
get() =
|
||||
|
@ -513,8 +512,6 @@ open class BaseApi29MediaStoreBackend : MediaStoreBackend() {
|
|||
audio.dir = Directory(volume, relativePath.removeSuffix(File.separator))
|
||||
}
|
||||
|
||||
// If the YEAR value is empty, see if DATE_TAKEN can fill in.
|
||||
logD("${audio.title} ${cursor.getString(dateTakenIndex)}")
|
||||
|
||||
return audio
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue