We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
NullPointerException
1 parent f0cc802 commit e1b3d4eCopy full SHA for e1b3d4e
android/src/main/kotlin/io/lakscastro/sharedstorage/storageaccessframework/lib/DocumentCommon.kt
@@ -215,7 +215,7 @@ fun traverseDirectoryEntries(
215
} else {
216
false
217
},
218
- type = data[DocumentsContract.Document.COLUMN_MIME_TYPE] as String,
+ type = data[DocumentsContract.Document.COLUMN_MIME_TYPE] as String?,
219
size = data[DocumentsContract.Document.COLUMN_SIZE] as Long?,
220
lastModified = data[DocumentsContract.Document.COLUMN_LAST_MODIFIED] as Long?
221
),
0 commit comments