properly handle Others mimetype files when needed
This commit is contained in:
parent
5b1d6ea32b
commit
a74315fc66
|
@ -238,6 +238,14 @@ class MimeTypesActivity : SimpleActivity(), ItemOperationsListener {
|
|||
fileDirItems.add(FileDirItem(path, name, false, 0, size, lastModified))
|
||||
}
|
||||
}
|
||||
OTHERS -> {
|
||||
if (mimetype != "image" && mimetype != "video" && mimetype != "audio" && mimetype != "text" &&
|
||||
!extraAudioMimeTypes.contains(fullMimetype) && !extraDocumentMimeTypes.contains(fullMimetype) &&
|
||||
!archiveMimeTypes.contains(fullMimetype)
|
||||
) {
|
||||
fileDirItems.add(FileDirItem(path, name, false, 0, size, lastModified))
|
||||
}
|
||||
}
|
||||
}
|
||||
} catch (e: Exception) {
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue