Update:Android hide download notification when finished #495

This commit is contained in:
advplyr 2023-01-20 16:22:00 -06:00
parent 4b7fa7a543
commit b2d3edca81

View file

@ -95,7 +95,7 @@ class AbsDownloader : Plugin() {
val dlRequest = DownloadManager.Request(uri)
dlRequest.setTitle(filename)
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)
return dlRequest
}