music: fix data selector creation
More or less, the paths being selected for were extremely malformed, stuff like storage/emulated/0Music. This completely broke music folders below API 29.
This commit is contained in:
parent
3d1fa6e4ff
commit
07acb4f5b9
1 changed files with 1 additions and 1 deletions
|
@ -142,7 +142,7 @@ private constructor(private val cursor: Cursor, volumeManager: VolumeManager) :
|
||||||
} else {
|
} else {
|
||||||
" OR ${MediaStore.Audio.AudioColumns.DATA} LIKE ?"
|
" OR ${MediaStore.Audio.AudioColumns.DATA} LIKE ?"
|
||||||
}
|
}
|
||||||
args.add("${volume}${path.components}%")
|
args.add("/${volume}/${path.components}%")
|
||||||
}
|
}
|
||||||
|
|
||||||
if (template.isEmpty()) {
|
if (template.isEmpty()) {
|
||||||
|
|
Loading…
Reference in a new issue