pull/1403/head
gedoor 3 years ago
parent c60edaa0fc
commit 42a3cf5c3d
  1. 2
      app/src/main/java/io/legado/app/utils/DocumentExtensions.kt

@ -99,9 +99,9 @@ object DocumentUtils {
if (!uri.isContentScheme()) {
return listFiles(uri.path!!, filter)
}
val docList = arrayListOf<FileDoc>()
val childrenUri = DocumentsContract
.buildChildDocumentsUriUsingTree(uri, DocumentsContract.getDocumentId(uri))
val docList = arrayListOf<FileDoc>()
var cursor: Cursor? = null
try {
cursor = appCtx.contentResolver.query(

Loading…
Cancel
Save