music: fix other music loading failure from dirs
Turns out there are two ways the selector can go malformed. One was the complicated issue where you can't resolve a directory, the other was me *missing a character* and not even building the selector right.
This commit is contained in:
parent
4234f5b8f1
commit
f1a6b77d30
1 changed files with 1 additions and 1 deletions
|
@ -216,7 +216,7 @@ private constructor(private val cursor: Cursor, volumeManager: VolumeManager) :
|
|||
var template = ""
|
||||
for (i in paths.indices) {
|
||||
val path = paths[i]
|
||||
template =
|
||||
template +=
|
||||
if (args.isEmpty()) {
|
||||
"(${MediaStore.Audio.AudioColumns.VOLUME_NAME} LIKE ? " +
|
||||
"AND ${MediaStore.Audio.AudioColumns.RELATIVE_PATH} LIKE ?)"
|
||||
|
|
Loading…
Reference in a new issue