mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2026-08-08 21:08:43 +02:00
Update:Android hide download notification when finished #495
This commit is contained in:
@@ -95,7 +95,7 @@ class AbsDownloader : Plugin() {
|
|||||||
val dlRequest = DownloadManager.Request(uri)
|
val dlRequest = DownloadManager.Request(uri)
|
||||||
dlRequest.setTitle(filename)
|
dlRequest.setTitle(filename)
|
||||||
dlRequest.setDescription("Downloading to $localFolderName for book $itemTitle")
|
dlRequest.setDescription("Downloading to $localFolderName for book $itemTitle")
|
||||||
dlRequest.setNotificationVisibility(DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED)
|
dlRequest.setNotificationVisibility(DownloadManager.Request.VISIBILITY_VISIBLE)
|
||||||
dlRequest.setDestinationUri(destinationUri)
|
dlRequest.setDestinationUri(destinationUri)
|
||||||
return dlRequest
|
return dlRequest
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user