Skip to content

Commit 45f16fd

Browse files
authored
Merge pull request #29 from ItzNotABug/fix-28
2 parents daf3ffe + 9fc83f1 commit 45f16fd

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ allprojects {
2323
}
2424

2525
plugins.withId("com.vanniktech.maven.publish.base") {
26-
version = "1.4"
26+
version = "1.5"
2727
group = "com.lazygeniouz"
2828

2929
mavenPublishing {

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)