mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-08-03 10:46:53 -04:00
Fixed Download Notification when multiple files are downloaded
This commit is contained in:
parent
66aed896b3
commit
cfe6258618
@ -380,9 +380,10 @@ public class DownloadService extends Service {
|
||||
}
|
||||
}
|
||||
target.putExtra(EXTRA_NOTIFICATION_ID, notificationID);
|
||||
target.setAction(Long.toString(System.currentTimeMillis()));
|
||||
PendingIntent pendingIntent = PendingIntent.getActivity
|
||||
(getBaseContext(), 0,
|
||||
target, PendingIntent.FLAG_CANCEL_CURRENT);
|
||||
target, PendingIntent.FLAG_ONE_SHOT);
|
||||
book.downloaded = true;
|
||||
dataSource.deleteBook(book)
|
||||
.subscribe(new CompletableObserver() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user