Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

Commit 14fd74c

Browse files
committed
Update KDOC
1 parent 4594f8a commit 14fd74c

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

ScopedStorage/app/src/main/java/com/samples/storage/mediastore/AddDocumentViewModel.kt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ import okhttp3.OkHttpClient
4545
import okhttp3.Request
4646
import okhttp3.ResponseBody
4747
import java.io.File
48-
import java.net.URLConnection
4948

5049
private const val TAG = "AddDocumentViewModel"
5150

@@ -285,9 +284,7 @@ class AddDocumentViewModel(
285284
}
286285

287286
/**
288-
* Get file details on Api 21
289-
*
290-
* It uses MediaStore to all the file properties
287+
* Get file details using the MediaStore API
291288
*/
292289
private suspend fun getFileDetails(uri: Uri): FileEntry? {
293290
return withContext(Dispatchers.IO) {

0 commit comments

Comments
 (0)