Skip to content

Commit

Permalink
music: fix other music loading failure from dirs
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
OxygenCobalt committed Jan 14, 2024
1 parent 4234f5b commit f1a6b77
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 ?)"
Expand Down

0 comments on commit f1a6b77

Please sign in to comment.