Skip to content

Commit

Permalink
music: fix data selector creation
Browse files Browse the repository at this point in the history
More or less, the paths being selected for were extremely malformed,
stuff like storage/emulated/0Music. This completely broke music folders
below API 29.
  • Loading branch information
OxygenCobalt committed Jan 14, 2024
1 parent 3d1fa6e commit 07acb4f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ private constructor(private val cursor: Cursor, volumeManager: VolumeManager) :
} else {
" OR ${MediaStore.Audio.AudioColumns.DATA} LIKE ?"
}
args.add("${volume}${path.components}%")
args.add("/${volume}/${path.components}%")
}

if (template.isEmpty()) {
Expand Down

0 comments on commit 07acb4f

Please sign in to comment.