Skip to content

Commit 6a6ce93

Browse files
committed
fix: tree check regression.
1 parent daf3ffe commit 6a6ce93

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

dfc/src/main/java/com/lazygeniouz/dfc/file/internals/SingleDocumentFileCompat.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@ internal class SingleDocumentFileCompat(
106106
* Build a [SingleDocumentFileCompat] from a given [uri].
107107
*/
108108
internal fun make(context: Context, self: Uri): SingleDocumentFileCompat? {
109-
if (isTreeUri(self)) return null
110109
if (!DocumentsContract.isDocumentUri(context, self)) return null
111110

112111
ResolverCompat.getCursor(context, self, ResolverCompat.fullProjection)

0 commit comments

Comments
 (0)