Skip to content

Commit

Permalink
Fix crash when restarting Zapp after removing a sd card with failed d…
Browse files Browse the repository at this point in the history
…ownload files
  • Loading branch information
cemrich committed Oct 26, 2023
1 parent 44b5c14 commit 736a154
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,10 @@ class DownloadFileInfoManager(
resolver.delete(filePathUri, null, null)
} catch (e: SecurityException) {
// maybe file is already deleted - that's okay
} catch (e: IllegalArgumentException) {
// most likely the external volume has been removed -
// its not worth raising this error
Timber.e(e)
}

DownloadStatus.COMPLETED -> {
Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/raw/changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# v-next
* Von Exoplayer auf neue Media-3-Bibliothek umgestiegen
* Absturz beim Starten von Zapp behoben, wenn vorher eine SD-Karte mit fehlgeschlagenen Downloads entfernt wurde
* Zapp auf Android 14 vorbereitet

# 8.3.2
Expand Down

0 comments on commit 736a154

Please sign in to comment.