mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-22 20:48:00 +01:00
catching another exception at deleting dir paths
This commit is contained in:
parent
70ef61e0ac
commit
9433184d6b
1 changed files with 4 additions and 1 deletions
|
@ -632,7 +632,10 @@ class MediaActivity : SimpleActivity(), MediaOperationsListener {
|
|||
|
||||
private fun deleteDBDirectory() {
|
||||
ensureBackgroundThread {
|
||||
mDirectoryDao.deleteDirPath(mPath)
|
||||
try {
|
||||
mDirectoryDao.deleteDirPath(mPath)
|
||||
} catch (ignored: Exception) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue