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:
@@ -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()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user