From 7269ca40a91ce8c3be77a5ec8b96d2be2e21f7c4 Mon Sep 17 00:00:00 2001 From: kunfei Date: Tue, 4 Feb 2020 21:02:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/java/io/legado/app/utils/UriExtensions.kt | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/src/main/java/io/legado/app/utils/UriExtensions.kt b/app/src/main/java/io/legado/app/utils/UriExtensions.kt index 49b76b439..4062c74df 100644 --- a/app/src/main/java/io/legado/app/utils/UriExtensions.kt +++ b/app/src/main/java/io/legado/app/utils/UriExtensions.kt @@ -5,10 +5,6 @@ import android.net.Uri import androidx.documentfile.provider.DocumentFile import java.io.File -fun Uri.isDocumentUri(context: Context): Boolean { - return DocumentFile.isDocumentUri(context, this) -} - @Throws(Exception::class) fun Uri.readBytes(context: Context): ByteArray? { if (DocumentFile.isDocumentUri(context, this)) {